()
| 510 | } |
| 511 | |
| 512 | parseJSXExpressionContainer(): JSXNode.JSXExpressionContainer { |
| 513 | const node = this.createJSXNode(); |
| 514 | this.expectJSX('{'); |
| 515 | |
| 516 | let expression: Node.Expression | JSXNode.JSXEmptyExpression; |
| 517 | if (this.matchJSX('}')) { |
| 518 | expression = this.parseJSXEmptyExpression(); |
| 519 | this.expectJSX('}'); |
| 520 | } else { |
| 521 | this.finishJSX(); |
| 522 | expression = this.parseAssignmentExpression(); |
| 523 | this.reenterJSX(); |
| 524 | } |
| 525 | |
| 526 | return this.finalize(node, new JSXNode.JSXExpressionContainer(expression)); |
| 527 | } |
| 528 | |
| 529 | parseJSXChildren(): JSXNode.JSXChild[] { |
| 530 | const children: JSXNode.JSXChild[] = []; |
no test coverage detected