()
| 7482 | } |
| 7483 | |
| 7484 | function parseWhileStatement() { |
| 7485 | var test, body, oldInIteration, marker = markerCreate(); |
| 7486 | |
| 7487 | expectKeyword('while'); |
| 7488 | |
| 7489 | expect('('); |
| 7490 | |
| 7491 | test = parseExpression(); |
| 7492 | |
| 7493 | expect(')'); |
| 7494 | |
| 7495 | oldInIteration = state.inIteration; |
| 7496 | state.inIteration = true; |
| 7497 | |
| 7498 | body = parseStatement(); |
| 7499 | |
| 7500 | state.inIteration = oldInIteration; |
| 7501 | |
| 7502 | return markerApply(marker, delegate.createWhileStatement(test, body)); |
| 7503 | } |
| 7504 | |
| 7505 | function parseForVariableDeclaration() { |
| 7506 | var marker = markerCreate(), |
no test coverage detected