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

Method requireToken

www/js/_hyperscript-max.js:1171–1175  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

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

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