nl_tokens: / * expects a fileBuffer and the JSON describe payload for the m modules array
pl_tokens: function ( describe , fileBuffer ) { if ( describe && ! util . isArray ( describe ) && describe . m ) { // those goofs, they sent the whole thing, instead of just the // modules section. describe = describe . m ; } if ( ! Buffer . isBuffer ( fileBuffer ) ) { return when . reject ( 'fileBuffer was invalid' ) ; } var <mask> = new HalModuleParser ( ) ; var fileInfo = { filename : 'user-file' , fileBuffer : fileBuffer } ; var that = this ; return pipeline ( [ function ( ) { return parser . parseBuffer ( fileInfo ) ; } , function ( ) { return that . resolveDependencies ( describe , fileInfo ) ; } ] ) ; }