Documentation ¶
Overview ¶
Package ast declares the types used to represent syntax trees.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryExpr ¶
BinaryExpr node represents a binary expression.
func (*BinaryExpr) Pos ¶
func (e *BinaryExpr) Pos() int
type Expr ¶
type Expr interface { Node // contains filtered or unexported methods }
All expression nodes implement the Expr interface.
type LeftArrowExpr ¶
A LeftArrowExpr node represents an expression followed by an argument.
func (*LeftArrowExpr) Pos ¶
func (e *LeftArrowExpr) Pos() int
type ParameterExpr ¶
ParameterExpr node represents a parameter of template.
func (*ParameterExpr) Pos ¶
func (e *ParameterExpr) Pos() int
type SelectorExpr ¶
SelectorExpr node represents an expression followed by a selector.
func (*SelectorExpr) Pos ¶
func (e *SelectorExpr) Pos() int
Click to show internal directories.
Click to hide internal directories.