MCPcopy Create free account
hub / github.com/dynjs/dynjs / whileStatement

Method whileStatement

src/main/java/org/dynjs/parser/js/Parser.java:1625–1633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1623 }
1624
1625 public WhileStatement whileStatement() {
1626 Token position = consume(WHILE);
1627 consume(LEFT_PAREN);
1628 Expression expr = expression();
1629 consume(RIGHT_PAREN);
1630 Statement body = statement();
1631
1632 return factory.whileStatement(position, expr, body);
1633 }
1634
1635 public Statement forStatement() {
1636 Token position = consume(FOR);

Callers 1

iterationStatementMethod · 0.95

Calls 3

consumeMethod · 0.95
expressionMethod · 0.95
statementMethod · 0.95

Tested by

no test coverage detected