nl_tokens: Internal : Returns the Transis . Model subclass with the given name . name - A string representing the name of a Transis . Model subclass . raise - A boolean indicating whether an exception should be raised if the name can t be resolved ( default : true ) . Returns the resolved subclass constructor function or undefined if a class with the given name is not known . Throws Error if the raise argument is true and the name cannot not be resolved .
pl_tokens: function resolve ( name , raise = <mask> ) { var klass = ( typeof name === 'function' ) ? name : subclasses [ name ] ; if ( ! klass && raise ) { throw new Error ( ` \` ${ name } \` ` ) ; } return klass ; }