(node)
| 3752 | // 12.13 The throw statement |
| 3753 | |
| 3754 | function parseThrowStatement(node) { |
| 3755 | var argument; |
| 3756 | |
| 3757 | expectKeyword('throw'); |
| 3758 | |
| 3759 | if (hasLineTerminator) { |
| 3760 | throwError(Messages.NewlineAfterThrow); |
| 3761 | } |
| 3762 | |
| 3763 | argument = parseExpression(); |
| 3764 | |
| 3765 | consumeSemicolon(); |
| 3766 | |
| 3767 | return node.finishThrowStatement(argument); |
| 3768 | } |
| 3769 | |
| 3770 | // 12.14 The try statement |
| 3771 |
no test coverage detected