Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryExpr ¶
func (BinaryExpr) Type ¶
func (e BinaryExpr) Type() Token
type InRelationExpr ¶
type InRelationExpr struct { X Node // operand (('mod' | '%') value)? Op Token // ==, != Y *RangeListExpr // }
func (InRelationExpr) Type ¶
func (e InRelationExpr) Type() Token
type ModuloExpr ¶
type ModuloExpr struct { Op *OperandExpr Value int64 }
func (ModuloExpr) Type ¶
func (ModuloExpr) Type() Token
type OperandExpr ¶
type OperandExpr struct {
Operand string
}
func (OperandExpr) Type ¶
func (OperandExpr) Type() Token
type RangeListExpr ¶
func (RangeListExpr) Type ¶
func (RangeListExpr) Type() Token
type Token ¶
type Token int
const ( Operand Token // n, i, v, w, t, f Value // \d+ Equal // = NotEqual // != ValueRange // value..value RangeList // (range | value) (',' range_list)* And // 'and' Or // 'or' Remainder // % )
Click to show internal directories.
Click to hide internal directories.