MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / requireToken

Method requireToken

src/core/parser.js:126–130  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

124 }
125
126 requireToken(value, type) {
127 var token = this.matchToken(value, type);
128 if (token) return token;
129 this.raiseExpected(value);
130 }
131
132 peekToken(value, peek, type) {
133 return this.tokens.peekToken(value, peek, type);

Callers 15

parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
_parseScrollModifiersFunction · 0.45

Calls 2

matchTokenMethod · 0.95
raiseExpectedMethod · 0.95

Tested by

no test coverage detected