()
| 1508 | } |
| 1509 | |
| 1510 | func (p *Parser) parseDebuggerStatement() *ast.Node { |
| 1511 | pos := p.nodePos() |
| 1512 | jsdoc := p.jsdocScannerInfo() |
| 1513 | p.parseExpected(ast.KindDebuggerKeyword) |
| 1514 | p.parseSemicolon() |
| 1515 | result := p.finishNode(p.factory.NewDebuggerStatement(), pos) |
| 1516 | p.withJSDoc(result, jsdoc) |
| 1517 | return result |
| 1518 | } |
| 1519 | |
| 1520 | func (p *Parser) parseExpressionOrLabeledStatement() *ast.Statement { |
| 1521 | // Avoiding having to do the lookahead for a labeled statement by just trying to parse |
no test coverage detected