nl_tokens: Processes the _bundles rule looking for child bundles . Returns a bundle seed as described by _makeBundleSeed () .
pl_tokens: function ( fullPath , relativePath , rule , <mask> ) { var r , matches , defaultVersion = DEFAULT_VERSION , pkg ; if ( parent ) { defaultVersion = parent . version ; } relativePath = BundleLocator . _toUnixPath ( relativePath ) ; for ( r = 0 ; r < rule . length ; r += 1 ) { matches = relativePath . match ( rule [ r ] . regex ) ; if ( matches ) { try { pkg = require ( libpath . resolve ( fullPath , 'package.json' ) ) ; } catch ( packageErr ) { // It's OK for a sub-bundle to not have a package.json. } return this . _makeBundleSeed ( fullPath , libpath . normalize ( matches [ 1 ] ) , defaultVersion , pkg , rule [ r ] . options ) ; } } }