⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
5 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/expression/JSXElement/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
BaseNode |
../../base/BaseNode |
JSXClosingElement |
../../jsx/JSXClosingElement/spec |
JSXOpeningElement |
../../jsx/JSXOpeningElement/spec |
JSXChild |
../../unions/JSXChild |
Interfaces
JSXElement
Interface Code
export interface JSXElement extends BaseNode {
type: AST_NODE_TYPES.JSXElement;
children: JSXChild[];
closingElement: JSXClosingElement | null;
openingElement: JSXOpeningElement;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.JSXElement |
✗ |
|
children |
JSXChild[] |
✗ |
|
closingElement |
JSXClosingElement | null |
✗ |
|
openingElement |
JSXOpeningElement |
✗ |
|