()
| 452 | } |
| 453 | |
| 454 | parseJSXAttributes(): JSXNode.JSXElementAttribute[] { |
| 455 | const attributes: JSXNode.JSXElementAttribute[] = []; |
| 456 | |
| 457 | while (!this.matchJSX('/') && !this.matchJSX('>')) { |
| 458 | const attribute = this.matchJSX('{') ? this.parseJSXSpreadAttribute() : |
| 459 | this.parseJSXNameValueAttribute(); |
| 460 | attributes.push(attribute); |
| 461 | } |
| 462 | |
| 463 | return attributes; |
| 464 | } |
| 465 | |
| 466 | parseJSXOpeningElement(): JSXNode.JSXOpeningElement { |
| 467 | const node = this.createJSXNode(); |
no test coverage detected