Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2024 Changes in this version + func Pretty(w io.Writer, x interface{}) error + func Walk(vis Visitor, x interface{}) error + type ArrayAppendStmt struct + Array Local + Value Operand + type AssignIntStmt struct + Target Local + Value int64 + type AssignVarOnceStmt struct + Source Operand + Target Local + type AssignVarStmt struct + Source Operand + Target Local + type Block struct + Stmts []Stmt + func (a *Block) MarshalJSON() ([]byte, error) + func (a *Block) String() string + func (a *Block) UnmarshalJSON(bs []byte) error + type BlockStmt struct + Blocks []*Block + func (a *BlockStmt) String() string + type Bool bool + func (b Bool) String() string + type BreakStmt struct + Index uint32 + type BuiltinFunc struct + Decl *types.Function + Name string + type CallDynamicStmt struct + Args []Local + Path []Operand + Result Local + type CallStmt struct + Args []Operand + Func string + Result Local + type DotStmt struct + Key Operand + Source Operand + Target Local + type EqualStmt struct + A Operand + B Operand + type Func struct + Blocks []*Block + Name string + Params []Local + Path []string + Return Local + func (a *Func) String() string + type Funcs struct + Funcs []*Func + func (a *Funcs) String() string + type IsArrayStmt struct + Source Operand + type IsDefinedStmt struct + Source Local + type IsObjectStmt struct + Source Operand + type IsSetStmt struct + Source Operand + type IsUndefinedStmt struct + Source Local + type LenStmt struct + Source Operand + Target Local + type Local int + const Data + const Input + const Unused + func (l Local) String() string + type Location struct + Col int + File int + Row int + func (l *Location) GetLocation() *Location + func (l *Location) SetLocation(index, row, col int, file, text string) + type MakeArrayStmt struct + Capacity int32 + Target Local + type MakeNullStmt struct + Target Local + type MakeNumberIntStmt struct + Target Local + Value int64 + type MakeNumberRefStmt struct + Index int + Target Local + type MakeObjectStmt struct + Target Local + type MakeSetStmt struct + Target Local + type NopStmt struct + type NotEqualStmt struct + A Operand + B Operand + type NotStmt struct + Block *Block + type ObjectInsertOnceStmt struct + Key Operand + Object Local + Value Operand + type ObjectInsertStmt struct + Key Operand + Object Local + Value Operand + type ObjectMergeStmt struct + A Local + B Local + Target Local + type Operand struct + Value Val + func (a *Operand) MarshalJSON() ([]byte, error) + func (a *Operand) UnmarshalJSON(bs []byte) error + type Plan struct + Blocks []*Block + Name string + func (a *Plan) String() string + type Plans struct + Plans []*Plan + type Policy struct + Funcs *Funcs + Plans *Plans + Static *Static + func (a *Policy) String() string + type ResetLocalStmt struct + Target Local + type ResultSetAddStmt struct + Value Local + type ReturnLocalStmt struct + Source Local + type ScanStmt struct + Block *Block + Key Local + Source Local + Value Local + type SetAddStmt struct + Set Local + Value Operand + type Static struct + BuiltinFuncs []*BuiltinFunc + Files []*StringConst + Strings []*StringConst + func (a *Static) String() string + type Stmt interface + type StringConst struct + Value string + type StringIndex int + func (s StringIndex) String() string + type Val interface + type Visitor interface + After func(x interface{}) + Before func(x interface{}) + Visit func(x interface{}) (Visitor, error) + type WithStmt struct + Block *Block + Local Local + Path []int + Value Operand