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

Method parseAnyOf

tools/common/_hyperscript.iife.js:1236–1238  ·  view source on GitHub ↗
(types)

Source from the content-addressed store, hash-verified

1234 return this.#kernel.requireElement(type, this, message, root);
1235 }
1236 parseAnyOf(types) {
1237 return this.#kernel.parseAnyOf(types, this);
1238 }
1239 raiseError(message, expected) {
1240 message = message || "Unexpected Token : " + this.currentToken().value;
1241 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