Type Alias TemplateNode
TemplateNode:
| { t: "text"; v: string }
| { p: string[]; raw: boolean; t: "var" }
| { body: TemplateNode[]; p: string[]; t: "each" }
| { else: TemplateNode[]; p: string[]; t: "if"; then: TemplateNode[] }
| { t: "text"; v: string }
| { p: string[]; raw: boolean; t: "var" }
| { body: TemplateNode[]; p: string[]; t: "each" }
| { else: TemplateNode[]; p: string[]; t: "if"; then: TemplateNode[] }
one node of a compiled template;
pis a dotted path split into segments,[]isthis