Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2026 Changes in this version + type ActionNode struct + Expr *Expr + func (n *ActionNode) Location() file.Location + type Expr struct + Program *vm.Program + func (n *Expr) Location() file.Location + type ForNode struct + Body []Node + Collection *Expr + Elem string + Key string + func (n *ForNode) Location() file.Location + type IfNode struct + Body []Node + Cond *Expr + ElseBody []Node + func (n *IfNode) Location() file.Location + type Node interface + Location func() file.Location type Template + func (t *Template) Nodes() []Node + func (t *Template) Print(f func(v any) (string, error)) *Template + type TextNode struct + Text string + func (n *TextNode) Location() file.Location v0.1.0 Nov 15, 2026 Changes in this version + type Error struct + Column int + Line int + Message string + Name string + func (e *Error) Error() string + func (e *Error) Unwrap() error + type Template struct + func Must(t *Template, err error) *Template + func New(name string, opts ...expr.Option) *Template + func (t *Template) Execute(w io.Writer, data any) error + func (t *Template) Name() string + func (t *Template) Parse(text string) (*Template, error)