Expand description
Code generation AST node types.
Contains VNodeCall, JavaScript expression nodes, SSR codegen nodes, and all types used during code generation from the template AST.
Structs§
- Array
Expression - Array expression
- Assignment
Expression - Assignment expression
- Block
Statement - Block statement
- Cache
Expression - Cache expression
- Call
Expression - Call expression
- Conditional
Expression - Conditional expression (ternary)
- Directive
Argument Node - Single directive argument
- Directive
Arguments - Directive arguments
- Function
Expression - Function expression
- IfStatement
- If statement (SSR)
- Object
Expression - Object expression
- Property
- Object property
- Return
Statement - Return statement
- Sequence
Expression - Sequence expression
- Template
Literal - Template literal
- VNode
Call - VNode call expression
Enums§
- Array
Element - Array element type
- Block
Statement Body - Block statement body item
- Call
Argument - Call argument type
- Callee
- Callee type
- Dynamic
Props - Dynamic props type
- Function
Body - Function body
- Function
Param - Single function parameter
- Function
Params - Function parameters
- Function
Returns - Function returns
- IfStatement
Alternate - If statement alternate
- JsChild
Node - All JavaScript child node types for codegen
- Props
Expression - Props expression type
- Return
Value - Return value type
- Slots
Expression - Slots expression
- Template
Literal Element - Template literal element
- Template
Text Child Node - Template text child node
- VNode
Children - VNode children type
- VNode
Tag - VNode tag type