nl_tokens: Generate tasks based on parent directory of each pattern .
pl_tokens: function generate ( patterns , options ) { var unixPatterns = patterns . map ( patternUtils . unixifyPattern ) ; var unixIgnore = options . ignore . map ( patternUtils . unixifyPattern ) ; var positivePatterns = getPositivePatterns ( unixPatterns ) ; var negativePatterns = getNegativePatternsAsPositive ( unixPatterns , unixIgnore ) ; var staticPatterns = positivePatterns . filter ( patternUtils . isStaticPattern ) ; var dynamicPatterns = positivePatterns . filter ( patternUtils . isDynamicPattern ) ; var staticTasks = convertPatternsToTasks ( staticPatterns , negativePatterns , /* dynamic */ <mask> ) ; var dynamicTasks = convertPatternsToTasks ( dynamicPatterns , negativePatterns , /* dynamic */ true ) ; return staticTasks . concat ( dynamicTasks ) ; }