()
| 3127 | // 12.13 The throw statement |
| 3128 | |
| 3129 | function parseThrowStatement() { |
| 3130 | var argument; |
| 3131 | |
| 3132 | expectKeyword('throw'); |
| 3133 | |
| 3134 | if (peekLineTerminator()) { |
| 3135 | throwError({}, Messages.NewlineAfterThrow); |
| 3136 | } |
| 3137 | |
| 3138 | argument = parseExpression(); |
| 3139 | |
| 3140 | consumeSemicolon(); |
| 3141 | |
| 3142 | return delegate.createThrowStatement(argument); |
| 3143 | } |
| 3144 | |
| 3145 | // 12.14 The try statement |
| 3146 |
no test coverage detected