nl_tokens: Handles the file .
pl_tokens: function ( res , ruleset ) { var bundle = this . _bundles [ res . bundleName ] , ruleName , rule , relativePath = BundleLocator . _toUnixPath ( res . relativePath ) , match ; bundle . files [ res . fullPath ] = true ; for ( ruleName in ruleset ) { if ( ruleset . hasOwnProperty ( ruleName ) ) { // Rules that start with "_" are special directives, // and have already been handle by the time we get here. if ( '_' !== ruleName . charAt ( 0 ) ) { rule = ruleset [ ruleName ] ; <mask> = relativePath . match ( rule . regex ) ; if ( match ) { res . name = match [ rule . nameKey || 1 ] ; res . type = ruleName ; if ( rule . subtypeKey ) { res . subtype = match [ rule . subtypeKey ] || '' ; } if ( rule . selectorKey && match [ rule . selectorKey ] ) { res . selector = match [ rule . selectorKey ] ; } else { res . selector = DEFAULT_SELECTOR ; } // file will become a resource after the first match return this . _onResource ( res ) ; } } } } }