(pos int, jsdoc jsdocScannerInfo, modifiers *ast.ModifierList)
| 1544 | } |
| 1545 | |
| 1546 | func (p *Parser) parseVariableStatement(pos int, jsdoc jsdocScannerInfo, modifiers *ast.ModifierList) *ast.Node { |
| 1547 | declarationList := p.parseVariableDeclarationList(false /*inForStatementInitializer*/) |
| 1548 | p.parseSemicolon() |
| 1549 | result := p.finishNode(p.factory.NewVariableStatement(modifiers, declarationList), pos) |
| 1550 | p.withJSDoc(result, jsdoc) |
| 1551 | p.checkJSSyntax(result) |
| 1552 | return result |
| 1553 | } |
| 1554 | |
| 1555 | func (p *Parser) parseVariableDeclarationList(inForStatementInitializer bool) *ast.Node { |
| 1556 | pos := p.nodePos() |
no test coverage detected