()
| 7824 | // 12.13 The throw statement |
| 7825 | |
| 7826 | function parseThrowStatement() { |
| 7827 | var argument, marker = markerCreate(); |
| 7828 | |
| 7829 | expectKeyword('throw'); |
| 7830 | |
| 7831 | if (peekLineTerminator()) { |
| 7832 | throwError({}, Messages.NewlineAfterThrow); |
| 7833 | } |
| 7834 | |
| 7835 | argument = parseExpression(); |
| 7836 | |
| 7837 | consumeSemicolon(); |
| 7838 | |
| 7839 | return markerApply(marker, delegate.createThrowStatement(argument)); |
| 7840 | } |
| 7841 | |
| 7842 | // 12.14 The try statement |
| 7843 |
no test coverage detected