MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / requireOpToken

Method requireOpToken

www/js/_hyperscript-max.js:1149–1153  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1147 return this.tokens.consumeWhitespace();
1148 }
1149 requireOpToken(value) {
1150 var token = this.matchOpToken(value);
1151 if (token) return token;
1152 this.raiseExpected(value);
1153 }
1154 matchAnyOpToken(...ops) {
1155 return this.tokens.matchAnyOpToken(...ops);
1156 }

Callers 15

parseStringTemplateMethod · 0.95
parseEventArgsMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseNakedMethod · 0.45
parseMethod · 0.45
parseFeatureMethod · 0.45
parseCommandMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls 2

matchOpTokenMethod · 0.95
raiseExpectedMethod · 0.95

Tested by

no test coverage detected