nl_tokens: Initialize processor information
pl_tokens: function initProcessorInfo ( name , info , existedProcessors ) { let processor = info . processor ; if ( ! processor ) { return info ; } if ( typeof processor === 'string' ) { // if the processor refer to the existed processor, merge the existed // processor info with current processor let old = existedProcessors [ processor ] ; if ( old ) { info . processor = undefined ; // remove undefined attributes info = removeUndefinedAttributes ( info ) ; let deps = info . deps ; deps && ! Array . isArray ( deps ) && ( deps = [ deps ] ) ; let oldDeps = old . deps ; oldDeps && ! Array . isArray ( oldDeps ) && ( oldDeps = [ oldDeps ] ) ; info = Object . assign ( { } , old , info ) ; info . deps = merge ( deps || [ ] , oldDeps || [ ] ) ; return Object . assign ( { refer : processor } , old , info ) ; } } try { info . processor = resolveProcessor ( processor ) ; } catch ( <mask> ) { let msg = ` \` ${ name } \` \` ${ processor } \` ` + ` ${ ex . message || ex . toString ( ) } ` ; throw new Error ( msg ) ; } return info ; }