MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / parseIndirectStatement

Method parseIndirectStatement

tools/common/_hyperscript.iife.js:1451–1460  ·  view source on GitHub ↗
(parser, root)

Source from the content-addressed store, hash-verified

1449 }
1450 }
1451 parseIndirectStatement(parser, root) {
1452 if (parser.matchToken("unless")) {
1453 root.endToken = parser.lastMatch();
1454 var conditional = parser.requireElement("expression");
1455 var unless = new UnlessStatementModifier(root, conditional);
1456 root.parent = unless;
1457 return unless;
1458 }
1459 return root;
1460 }
1461 parsePrimaryExpression(parser) {
1462 var leaf = parser.parseElement("leaf");
1463 if (leaf) {

Callers

nothing calls this directly

Calls 3

matchTokenMethod · 0.45
lastMatchMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected