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

Method requireToken

www/js/_hyperscript.esm.js:1170–1174  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

1168 return this.tokens.matchTokenType(...types);
1169 }
1170 requireToken(value, type) {
1171 var token = this.matchToken(value, type);
1172 if (token) return token;
1173 this.raiseExpected(value);
1174 }
1175 peekToken(value, peek, type) {
1176 return this.tokens.peekToken(value, peek, type);
1177 }

Callers 15

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

Calls 2

matchTokenMethod · 0.95
raiseExpectedMethod · 0.95

Tested by

no test coverage detected