nl_tokens: Override the builtin processor definition
pl_tokens: function overrideProcessor ( existedProcessor , extnameProcessorMap , opts ) { let oldExtnames ; let newExtnames ; Object . keys ( opts ) . forEach ( k => { let v = opts [ k ] ; if ( ! v ) { return ; } if ( k === 'extnames' ) { oldExtnames = existedProcessor [ k ] ; newExtnames = v ; } if ( k === 'hook' ) { v = overrideObjectFunctions ( v , existedProcessor [ k ] ) ; } existedProcessor [ k ] = v ; } ) ; let processor = opts . processor ; if ( <mask> ) { existedProcessor . processor = resolveProcessor ( processor ) ; } let processorName = opts . name ; removeFileExtnameAssociatedProcessor ( oldExtnames , processorName , extnameProcessorMap ) ; addFileExtnameAssociatedProcessor ( newExtnames , processorName , extnameProcessorMap ) ; }