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

Method parseLeaf

www/js/_hyperscript.js:1407–1413  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

1405 return new EmptyCommandListCommand();
1406 }
1407 parseLeaf(parser) {
1408 var result = parser.parseAnyOf(this.#leafExpressions);
1409 if (result == null) {
1410 return parser.parseElement("symbol");
1411 }
1412 return result;
1413 }
1414 parseIndirectExpression(parser, root) {
1415 for (var i = 0; i < this.#indirectExpressions.length; i++) {
1416 var indirect = this.#indirectExpressions[i];

Callers

nothing calls this directly

Calls 2

parseAnyOfMethod · 0.45
parseElementMethod · 0.45

Tested by

no test coverage detected