MCPcopy Create free account
hub / github.com/aurelia/binding / returnToken

Function returnToken

src/parser.js:746–751  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

744
745// CharFuncLookup functions
746function returnToken(token) {
747 return p => {
748 p.next();
749 return token;
750 };
751}
752function unexpectedCharacter(p) {
753 p.err(`Unexpected character [${fromCharCode(p.ch)}]`);
754 return null;

Callers 1

parser.jsFile · 0.85

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected