nl_tokens: Returns profile by its name . If profile wasn t found returns plain profile
pl_tokens: function ( name , syntax ) { if ( ! name && syntax ) { // search in user resources first var profile = require ( 'resources' ) . findItem ( syntax , 'profile' ) ; if ( profile ) { name = <mask> ; } } if ( ! name ) { return profiles . plain ; } if ( name instanceof OutputProfile ) { return name ; } if ( _ . isString ( name ) && name . toLowerCase ( ) in profiles ) { return profiles [ name . toLowerCase ( ) ] ; } return this . create ( name ) ; }