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

Method parseLeaf

www/js/_hyperscript-max.js:1406–1412  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

parseAnyOfMethod · 0.45
parseElementMethod · 0.45

Tested by

no test coverage detected