()
| 464 | } |
| 465 | |
| 466 | parseJSXOpeningElement(): JSXNode.JSXOpeningElement { |
| 467 | const node = this.createJSXNode(); |
| 468 | |
| 469 | this.expectJSX('<'); |
| 470 | const name = this.parseJSXElementName(); |
| 471 | const attributes = this.parseJSXAttributes(); |
| 472 | const selfClosing = this.matchJSX('/'); |
| 473 | if (selfClosing) { |
| 474 | this.expectJSX('/'); |
| 475 | } |
| 476 | this.expectJSX('>'); |
| 477 | |
| 478 | return this.finalize(node, new JSXNode.JSXOpeningElement(name, selfClosing, attributes)); |
| 479 | } |
| 480 | |
| 481 | parseJSXBoundaryElement(): JSXNode.JSXOpeningElement | JSXNode.JSXClosingElement { |
| 482 | const node = this.createJSXNode(); |
no test coverage detected