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

Method parseAnyOf

www/js/_hyperscript-max.js:1245–1247  ·  view source on GitHub ↗
(types)

Source from the content-addressed store, hash-verified

1243 return this.#kernel.requireElement(type, this, message, root);
1244 }
1245 parseAnyOf(types) {
1246 return this.#kernel.parseAnyOf(types, this);
1247 }
1248 raiseError(message, expected) {
1249 message = message || "Unexpected Token : " + this.currentToken().value;
1250 var parseError = new ParseError(message, this.currentToken(), this.source, expected);

Callers

nothing calls this directly

Calls 1

parseAnyOfMethod · 0.45

Tested by

no test coverage detected