Mau.AST.Nodes (mau v0.8.0)
View SourceAST node helpers for the Mau template engine.
Provides functions to create AST nodes that follow the
unified tuple format: {type, parts, opts}.
Summary
Functions
Creates an atom literal node for atom values.
Creates a binary operation node for binary operators.
Creates a function call node for function calls and filters.
Creates a comment node for template comments. Comments are not rendered in the final output.
Creates an expression node for variable interpolation.
Creates a literal node for constant values.
Creates a logical operation node for logical operators.
Creates a tag node for control flow and logic.
Creates a text node for raw text content.
Creates a unary operation node for unary operators like 'not'.
Creates a variable node for variable access.
Functions
Creates an atom literal node for atom values.
Creates a binary operation node for binary operators.
Creates a function call node for function calls and filters.
Creates a comment node for template comments. Comments are not rendered in the final output.
Creates an expression node for variable interpolation.
Creates a literal node for constant values.
Creates a logical operation node for logical operators.
Creates a tag node for control flow and logic.
Creates a text node for raw text content.
Creates a unary operation node for unary operators like 'not'.
Creates a variable node for variable access.