()
| 429 | } |
| 430 | |
| 431 | parseJSXNameValueAttribute(): JSXNode.JSXAttribute { |
| 432 | const node = this.createJSXNode(); |
| 433 | const name = this.parseJSXAttributeName(); |
| 434 | let value: JSXNode.JSXAttributeValue | null = null; |
| 435 | if (this.matchJSX('=')) { |
| 436 | this.expectJSX('='); |
| 437 | value = this.parseJSXAttributeValue(); |
| 438 | } |
| 439 | return this.finalize(node, new JSXNode.JSXAttribute(name, value)); |
| 440 | } |
| 441 | |
| 442 | parseJSXSpreadAttribute(): JSXNode.JSXSpreadAttribute { |
| 443 | const node = this.createJSXNode(); |
no test coverage detected