()
| 2804 | } |
| 2805 | |
| 2806 | function parseWhileStatement() { |
| 2807 | var test, body, oldInIteration; |
| 2808 | |
| 2809 | expectKeyword('while'); |
| 2810 | |
| 2811 | expect('('); |
| 2812 | |
| 2813 | test = parseExpression(); |
| 2814 | |
| 2815 | expect(')'); |
| 2816 | |
| 2817 | oldInIteration = state.inIteration; |
| 2818 | state.inIteration = true; |
| 2819 | |
| 2820 | body = parseStatement(); |
| 2821 | |
| 2822 | state.inIteration = oldInIteration; |
| 2823 | |
| 2824 | return delegate.createWhileStatement(test, body); |
| 2825 | } |
| 2826 | |
| 2827 | function parseForVariableDeclaration() { |
| 2828 | var token, declarations, startToken; |
no test coverage detected