Function createTemplateNode
- createTemplateNode(body, parent, blocks, macros, traits, embeddedTemplates, source, line, column): TwingTemplateNode
Parameters
- body: TwingBaseNode<any, TwingBaseNodeAttributes, TwingBaseNodeChildren>
- parent: null | TwingBaseExpressionNode
- blocks: TwingBaseNode<any, {}, Record<string, TwingBlockNode>>
- macros: TwingBaseNode<any, {}, Record<string, TwingMacroNode>>
- traits: TwingBaseNode<any, {}, Record<string, TwingTraitNode>>
- embeddedTemplates: TwingTemplateNode[]
- source: TwingSource
- line: number
- column: number