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

Method parseAnyOf

www/js/_hyperscript.esm.js:1244–1246  ·  view source on GitHub ↗
(types)

Source from the content-addressed store, hash-verified

1242 return this.#kernel.requireElement(type, this, message, root);
1243 }
1244 parseAnyOf(types) {
1245 return this.#kernel.parseAnyOf(types, this);
1246 }
1247 raiseError(message, expected) {
1248 message = message || "Unexpected Token : " + this.currentToken().value;
1249 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