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

Method requireToken

tools/common/_hyperscript.iife.js:1162–1166  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

1160 return this.tokens.matchTokenType(...types);
1161 }
1162 requireToken(value, type) {
1163 var token = this.matchToken(value, type);
1164 if (token) return token;
1165 this.raiseExpected(value);
1166 }
1167 peekToken(value, peek, type) {
1168 return this.tokens.peekToken(value, peek, type);
1169 }

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