Versions in this module Expand all Collapse all v0 v0.1.1 Sep 14, 2015 v0.1.0 Aug 28, 2015 Changes in this version + const NoMultiples + const Raw + const Sorted + func Inspect(node Node, f func(Node) bool) + func PrintError(w io.Writer, err error) + func Walk(v Visitor, node Node) + type BadExpr struct + From token.Pos + To token.Pos + func (x *BadExpr) End() token.Pos + func (x *BadExpr) Pos() token.Pos + type BasicLit struct + Kind token.Token + Value string + ValuePos token.Pos + func (x *BasicLit) End() token.Pos + func (x *BasicLit) Pos() token.Pos + type BinaryExpr struct + Op token.Token + OpPos token.Pos + X Expr + Y Expr + func (x *BinaryExpr) End() token.Pos + func (x *BinaryExpr) Pos() token.Pos + type CallExpr struct + Args []Expr + Fun Expr + Lparen token.Pos + Rparen token.Pos + func (x *CallExpr) End() token.Pos + func (x *CallExpr) Pos() token.Pos + type Error struct + Msg string + Pos token.Position + func (e *Error) Error() string + type ErrorHandler interface + Error func(pos token.Position, msg string) + type ErrorList []*Error + func (p ErrorList) Error() string + func (p ErrorList) Len() int + func (p ErrorList) Less(i, j int) bool + func (p ErrorList) Swap(i, j int) + type ErrorVector struct + func (h *ErrorVector) Error(pos token.Position, msg string) + func (h *ErrorVector) ErrorCount() int + func (h *ErrorVector) GetError(mode int) error + func (h *ErrorVector) GetErrorList(mode int) ErrorList + func (h *ErrorVector) Reset() + type Expr interface + func Parse(name, eqn string) (Expr, error) + type Ident struct + Name string + NamePos token.Pos + func NewIdent(name string) *Ident + func (x *Ident) End() token.Pos + func (x *Ident) Pos() token.Pos + type IndexExpr struct + Index Expr + Lbrack token.Pos + Rbrack token.Pos + X Expr + func (x *IndexExpr) End() token.Pos + func (x *IndexExpr) Pos() token.Pos + type Node interface + End func() token.Pos + Pos func() token.Pos + type ParenExpr struct + Lparen token.Pos + Rparen token.Pos + X Expr + func (x *ParenExpr) End() token.Pos + func (x *ParenExpr) Pos() token.Pos + type Token struct + func (t *Token) String() string + type UnaryExpr struct + Op token.Token + OpPos token.Pos + X Expr + func (x *UnaryExpr) End() token.Pos + func (x *UnaryExpr) Pos() token.Pos + type Visitor interface + Visit func(node Node) (w Visitor)