()
| 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); |
no test coverage detected