createAstTextNode()
ts
function createAstTextNode(value): AstTextNode;Defined in: ast.ts:147
Creates an AST node representing a plain text segment in the template.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The text content to store in the node. |
Returns
A new AstTextNode instance.
Since
1.0.0
Author
Simon Kovtyk