nl_tokens: / * 自动require所有的enum
pl_tokens: function requireAllEnum ( dir ) { if ( ! fs . existsSync ( dir ) ) { return ; } log . verbose ( ` ` ) ; var files = fs . readdirSync ( dir ) . filter ( ( file ) => ( ( file . startsWith ( "E" ) && file . endsWith ( ".js" ) ) ) ) ; for ( var file of files ) { var fileName = file . substring ( 0 , file . lastIndexOf ( ".js" ) ) ; <mask> [ fileName ] = require ( path . resolve ( dir , file ) ) ; log . verbose ( ` ${ file } ` ) ; } }