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

Method parseIndirectStatement

www/js/_hyperscript.js:1461–1470  ·  view source on GitHub ↗
(parser, root)

Source from the content-addressed store, hash-verified

1459 }
1460 }
1461 parseIndirectStatement(parser, root) {
1462 if (parser.matchToken("unless")) {
1463 root.endToken = parser.lastMatch();
1464 var conditional = parser.requireElement("expression");
1465 var unless = new UnlessStatementModifier(root, conditional);
1466 root.parent = unless;
1467 return unless;
1468 }
1469 return root;
1470 }
1471 parsePrimaryExpression(parser) {
1472 var leaf = parser.parseElement("leaf");
1473 if (leaf) {

Callers

nothing calls this directly

Calls 3

matchTokenMethod · 0.45
lastMatchMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected