(node)
| 3419 | } |
| 3420 | |
| 3421 | function parseWhileStatement(node) { |
| 3422 | var test, body, oldInIteration; |
| 3423 | |
| 3424 | expectKeyword('while'); |
| 3425 | |
| 3426 | expect('('); |
| 3427 | |
| 3428 | test = parseExpression(); |
| 3429 | |
| 3430 | expect(')'); |
| 3431 | |
| 3432 | oldInIteration = state.inIteration; |
| 3433 | state.inIteration = true; |
| 3434 | |
| 3435 | body = parseStatement(); |
| 3436 | |
| 3437 | state.inIteration = oldInIteration; |
| 3438 | |
| 3439 | return node.finishWhileStatement(test, body); |
| 3440 | } |
| 3441 | |
| 3442 | function parseForStatement(node) { |
| 3443 | var init, test, update, left, right, kind, declarations, |
no test coverage detected