()
| 6290 | } |
| 6291 | |
| 6292 | func (p *Parser) isBindingIdentifier() bool { |
| 6293 | // `let await`/`let yield` in [Yield] or [Await] are allowed here and disallowed in the binder. |
| 6294 | return p.token == ast.KindIdentifier || p.token > ast.KindLastReservedWord |
| 6295 | } |
| 6296 | |
| 6297 | func (p *Parser) isImportAttributeName() bool { |
| 6298 | return tokenIsIdentifierOrKeyword(p.token) || p.token == ast.KindStringLiteral |
no outgoing calls
no test coverage detected