()
| 4710 | } |
| 4711 | |
| 4712 | func (p *Parser) isUpdateExpression() bool { |
| 4713 | switch p.token { |
| 4714 | case ast.KindPlusToken, ast.KindMinusToken, ast.KindTildeToken, ast.KindExclamationToken, ast.KindDeleteKeyword, ast.KindTypeOfKeyword, ast.KindVoidKeyword, ast.KindAwaitKeyword: |
| 4715 | return false |
| 4716 | case ast.KindLessThanToken: |
| 4717 | return p.languageVariant == core.LanguageVariantJSX |
| 4718 | } |
| 4719 | return true |
| 4720 | } |
| 4721 | |
| 4722 | func (p *Parser) parseUpdateExpression() *ast.Expression { |
| 4723 | pos := p.nodePos() |
no outgoing calls
no test coverage detected