nl_tokens: Process file using the given processor
pl_tokens: function processFile ( file , processor , buildManager ) { let { compileContext , logger } = buildManager ; let { handler , options : opts , rext } = processor ; logger . debug ( ` ${ file . path } ${ processor . name } ` , opts ) ; let <mask> = handler ( file , Object . assign ( { config : opts } , compileContext ) ) ; if ( ! result ) { return ; } rext && ( file . rext = rext ) ; if ( isPromise ( result ) ) { buildManager . addAsyncTask ( file , result ) ; return ; } if ( result . isSfcComponent ) { compileComponent ( result , file , buildManager ) ; result = { content : file . content } ; } buildManager . updateFileCompileResult ( file , result ) ; }