Versions in this module Expand all Collapse all v0 v0.6.5 Oct 21, 2015 v0.6.4 Oct 15, 2015 v0.6.3 Aug 11, 2015 v0.6.2 Aug 6, 2015 v0.6.1 Jul 20, 2015 v0.6.0 Jun 30, 2015 Changes in this version type Call + func (n *Call) GoString() string v0.5.3 Jun 1, 2015 v0.5.1 May 15, 2015 v0.5.0 May 7, 2015 v0.4.2 Apr 10, 2015 v0.4.1 Apr 9, 2015 v0.4.0 Apr 2, 2015 Changes in this version + type Arithmetic struct + Exprs []Node + Op ArithmeticOp + Posx Pos + func (n *Arithmetic) Accept(v Visitor) Node + func (n *Arithmetic) GoString() string + func (n *Arithmetic) Pos() Pos + func (n *Arithmetic) String() string + func (n *Arithmetic) Type(Scope) (Type, error) + type ArithmeticOp int + const ArithmeticOpAdd + const ArithmeticOpDiv + const ArithmeticOpInvalid + const ArithmeticOpMod + const ArithmeticOpMul + const ArithmeticOpSub type Type + const TypeAny v0.3.7 Feb 19, 2015 Changes in this version + type BasicScope struct + FuncMap map[string]Function + VarMap map[string]Variable + func (s *BasicScope) LookupFunc(n string) (Function, bool) + func (s *BasicScope) LookupVar(n string) (Variable, bool) + type Call struct + Args []Node + Func string + Posx Pos + func (n *Call) Accept(v Visitor) Node + func (n *Call) Pos() Pos + func (n *Call) String() string + func (n *Call) Type(s Scope) (Type, error) + type Concat struct + Exprs []Node + Posx Pos + func (n *Concat) Accept(v Visitor) Node + func (n *Concat) GoString() string + func (n *Concat) Pos() Pos + func (n *Concat) String() string + func (n *Concat) Type(Scope) (Type, error) + type Function struct + ArgTypes []Type + Callback func([]interface{}) (interface{}, error) + ReturnType Type + Variadic bool + VariadicType Type + type LiteralNode struct + Posx Pos + Typex Type + Value interface{} + func (n *LiteralNode) Accept(v Visitor) Node + func (n *LiteralNode) GoString() string + func (n *LiteralNode) Pos() Pos + func (n *LiteralNode) String() string + func (n *LiteralNode) Type(Scope) (Type, error) + type Node interface + Accept func(Visitor) Node + Pos func() Pos + Type func(Scope) (Type, error) + type Pos struct + Column int + Line int + func (p Pos) String() string + type Scope interface + LookupFunc func(string) (Function, bool) + LookupVar func(string) (Variable, bool) + type Stack struct + func (s *Stack) Len() int + func (s *Stack) Pop() Node + func (s *Stack) Push(n Node) + func (s *Stack) Reset() + type Type uint32 + const TypeFloat + const TypeInt + const TypeInvalid + const TypeString + func (i Type) String() string + type Variable struct + Type Type + Value interface{} + type VariableAccess struct + Name string + Posx Pos + func (n *VariableAccess) Accept(v Visitor) Node + func (n *VariableAccess) GoString() string + func (n *VariableAccess) Pos() Pos + func (n *VariableAccess) String() string + func (n *VariableAccess) Type(s Scope) (Type, error) + type Visitor func(Node) Node