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

Method requireToken

www/js/_hyperscript.js:1172–1176  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

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

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