Versions in this module Expand all Collapse all v0 v0.0.1 Jun 23, 2026 Changes in this version + type Array struct + func NewArray() *Array + func (a *Array) Append(val any) + func (a *Array) Get(key any) (any, bool) + func (a *Array) Keys() []any + func (a *Array) Len() int + func (a *Array) Range(fn func(key, val any) bool) + func (a *Array) Set(key, val any) + type ArrayItem struct + Key Expr + Val Expr + type ArrayItemValue struct + Key any + Val any + type ArrayLit struct + Items []ArrayItem + type Assign struct + Op string + Target Expr + Value Expr + type AssignExpr struct + Line int + Op string + Target Expr + Value Expr + type Binary struct + Left Expr + Op string + Right Expr + type Break struct + type Call struct + Args []Expr + Fallback string + Name string + type Cast struct + Type string + X Expr + type Catch struct + Body []Stmt + Var string + type Class struct + Consts []Field + Fields []Field + Methods map[string]*FuncDecl + Name string + type ClassConst struct + Class string + Name string + type ClassDecl struct + Abstract bool + Consts []Field + Fields []Field + Methods []*FuncDecl + Name string + type Closure struct + Body []Stmt + Params []Param + type Continue struct + type Echo struct + Args []Expr + type Expr interface + type ExprStmt struct + X Expr + type Field struct + Default Expr + Name string + type For struct + Body []Stmt + Cond Expr + Init Stmt + Post Stmt + type Foreach struct + Body []Stmt + KeyVar string + Source Expr + ValVar string + type Func struct + Decl *FuncDecl + Go any + type FuncDecl struct + Body []Stmt + Class string + Name string + Params []Param + type If struct + Cond Expr + Else []Stmt + Then []Stmt + type Include struct + Once bool + Path Expr + type Index struct + Base Expr + Index Expr + type InlineHTML struct + Text string + type ListExpr struct + Elems []Expr + type Lit struct + Value any + type MethodCall struct + Args []Expr + Base Expr + Method string + type New struct + Args []Expr + Class string + type Node interface + type Object struct + Class *Class + Props map[string]any + func NewObject(c *Class) *Object + type Param struct + Default Expr + Name string + type Program struct + Stmts []Stmt + type PropAccess struct + Base Expr + Name string + type Return struct + Value Expr + type Stmt interface + type Switch struct + Cases []SwitchCase + Cond Expr + Default []Stmt + type SwitchCase struct + Body []Stmt + Value Expr + type Ternary struct + Cond Expr + Else Expr + Then Expr + type Throw struct + X Expr + type Try struct + Body []Stmt + Catches []Catch + Finally []Stmt + type Unary struct + Op string + X Expr + type Var struct + Name string