Versions in this module Expand all Collapse all v0 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