(node)
| 3660 | // 12.10 The with statement |
| 3661 | |
| 3662 | function parseWithStatement(node) { |
| 3663 | var object, body; |
| 3664 | |
| 3665 | if (strict) { |
| 3666 | tolerateError(Messages.StrictModeWith); |
| 3667 | } |
| 3668 | |
| 3669 | expectKeyword('with'); |
| 3670 | |
| 3671 | expect('('); |
| 3672 | |
| 3673 | object = parseExpression(); |
| 3674 | |
| 3675 | expect(')'); |
| 3676 | |
| 3677 | body = parseStatement(); |
| 3678 | |
| 3679 | return node.finishWithStatement(object, body); |
| 3680 | } |
| 3681 | |
| 3682 | // 12.10 The swith statement |
| 3683 |
no test coverage detected