nl_tokens: This method is called via the container s resolver method . It parses the provided fullName and then looks up and returns the appropriate template or class .
pl_tokens: function ( fullName ) { var parsedName = this . parseName ( fullName ) , resolveMethodName = parsedName . resolveMethodName ; if ( ! ( parsedName . name && parsedName . type ) ) { throw <mask> TypeError ( "Invalid fullName: `" + fullName + "`, must be of the form `type:name` " ) ; } if ( this [ resolveMethodName ] ) { var resolved = this [ resolveMethodName ] ( parsedName ) ; if ( resolved ) { return resolved ; } } return this . resolveOther ( parsedName ) ; }