Documentation ¶
Overview ¶
Package ast provides means to represent an AST of a vql expression.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeforeExpr ¶
func (*BeforeExpr) End ¶
func (x *BeforeExpr) End() token.Pos
func (*BeforeExpr) Pos ¶
func (x *BeforeExpr) Pos() token.Pos
type BinaryExpr ¶
type BinaryExpr struct { X Expr // left operand OpPos token.Pos // position of Op Op token.Token // operator Y Expr // right operand }
A BinaryExpr node represents a binary expression.
func (*BinaryExpr) End ¶
func (x *BinaryExpr) End() token.Pos
func (*BinaryExpr) Pos ¶
func (x *BinaryExpr) Pos() token.Pos
type Expr ¶
type Expr interface { Node // contains filtered or unexported methods }
All expression nodes implement the Expr interface.
type Lit ¶
type LocExpr ¶
type Node ¶
type Node interface { Pos() token.Pos // position of first character belonging to the node End() token.Pos // position of first character immediately after the node // contains filtered or unexported methods }
All node types implement the Node interface.
Click to show internal directories.
Click to hide internal directories.