()
| 3420 | } |
| 3421 | |
| 3422 | func (p *Parser) parseTypeMemberSemicolon() { |
| 3423 | // We allow type members to be separated by commas or (possibly ASI) semicolons. |
| 3424 | // First check if it was a comma. If so, we're done with the member. |
| 3425 | if p.parseOptional(ast.KindCommaToken) { |
| 3426 | return |
| 3427 | } |
| 3428 | // Didn't have a comma. We must have a (possible ASI) semicolon. |
| 3429 | p.parseSemicolon() |
| 3430 | } |
| 3431 | |
| 3432 | func (p *Parser) parseAccessorDeclaration(pos int, jsdoc jsdocScannerInfo, modifiers *ast.ModifierList, kind ast.Kind, flags ParseFlags) *ast.Node { |
| 3433 | name := p.parsePropertyName() |
no test coverage detected