()
| 3032 | // 12.10 The with statement |
| 3033 | |
| 3034 | function parseWithStatement() { |
| 3035 | var object, body; |
| 3036 | |
| 3037 | if (strict) { |
| 3038 | // TODO(ikarienator): Should we update the test cases instead? |
| 3039 | skipComment(); |
| 3040 | throwErrorTolerant({}, Messages.StrictModeWith); |
| 3041 | } |
| 3042 | |
| 3043 | expectKeyword('with'); |
| 3044 | |
| 3045 | expect('('); |
| 3046 | |
| 3047 | object = parseExpression(); |
| 3048 | |
| 3049 | expect(')'); |
| 3050 | |
| 3051 | body = parseStatement(); |
| 3052 | |
| 3053 | return delegate.createWithStatement(object, body); |
| 3054 | } |
| 3055 | |
| 3056 | // 12.10 The swith statement |
| 3057 |
no test coverage detected