()
| 5005 | } |
| 5006 | |
| 5007 | func (p *Parser) parseJsxAttribute() *ast.Node { |
| 5008 | if p.token == ast.KindOpenBraceToken { |
| 5009 | return p.parseJsxSpreadAttribute() |
| 5010 | } |
| 5011 | pos := p.nodePos() |
| 5012 | return p.finishNode(p.factory.NewJsxAttribute(p.parseJsxAttributeName(), p.parseJsxAttributeValue()), pos) |
| 5013 | } |
| 5014 | |
| 5015 | func (p *Parser) parseJsxSpreadAttribute() *ast.Node { |
| 5016 | pos := p.nodePos() |
nothing calls this directly
no test coverage detected