Versions in this module Expand all Collapse all v0 v0.0.1 Oct 1, 2021 Changes in this version + type BasicLit struct + Kind *token.Token + Pos *position.Pos + Value []byte + func (n *BasicLit) Walk(v Visitor) + type BinaryExpr struct + Left Node + OpTkn *token.Token + Pos *position.Pos + Right Node + func (n *BinaryExpr) Walk(v Visitor) + type CommaSeparatedList struct + Items []Node + Pos *position.Pos + SepTkns []*token.Token + func (n *CommaSeparatedList) Walk(v Visitor) + type ComparisonExpr struct + Left Node + OpTkn *token.Token + Pos *position.Pos + Right Node + func (n *ComparisonExpr) Walk(v Visitor) + type FromExpr struct + From Node + FromTkn *token.Token + Pos *position.Pos + func (n *FromExpr) Walk(v Visitor) + type Identifier struct + IdentifierTkn *token.Token + Pos *position.Pos + Value []byte + func (n *Identifier) Walk(v Visitor) + type LimitExpr struct + LimitTkn *token.Token + Pos *position.Pos + Value Node + func (n *LimitExpr) Walk(v Visitor) + type MethodCallExpr struct + Args []Node + CloseBracketTkn *token.Token + MethodName *Identifier + OpTkn *token.Token + OpenBracketTkn *token.Token + Pos *position.Pos + SeparatorsTkns []*token.Token + Variable Node + func (n *MethodCallExpr) Walk(v Visitor) + type Node interface + Walk func(v Visitor) + type NotExpr struct + Expr Node + NotTkn *token.Token + Pos *position.Pos + func (n *NotExpr) Walk(v Visitor) + type OrderByExpr struct + Asc bool + Desc bool + Field Node + OrderByTkn *token.Token + Pos *position.Pos + func (n *OrderByExpr) Walk(v Visitor) + type Root struct + Pos *position.Pos + Stmts []Node + func (n *Root) Walk(v Visitor) + type SelectExpr struct + FromExpr *FromExpr + LimitExpr *LimitExpr + OrderByExpr *OrderByExpr + Pos *position.Pos + Select *SelectSubjectExpr + SelectTkn *token.Token + WhereExpr *WhereExpr + WithExpr *WithExpr + func (n *SelectExpr) Walk(v Visitor) + type SelectSubjectExpr struct + Count *token.Token + List *CommaSeparatedList + Pos *position.Pos + Star *token.Token + func (n *SelectSubjectExpr) Walk(v Visitor) + type Variable struct + Name []byte + NameTkn *token.Token + Pos *position.Pos + func (n *Variable) Walk(v Visitor) + type Visitor interface + EnterNode func(n Node) bool + LeaveNode func(n Node) + type WhereExpr struct + Expr Node + Pos *position.Pos + WhereTkn *token.Token + func (n *WhereExpr) Walk(v Visitor) + type WithExpr struct + Pos *position.Pos + WithList *CommaSeparatedList + WithTkn *token.Token + func (n *WithExpr) Walk(v Visitor)