Documentation ¶
Index ¶
- type AST
- type BinaryOperator
- type Expr
- type FuncCall
- type Literal
- type MemberSelector
- type NoopSelector
- type OpCmpEq
- type OpCmpGt
- type OpCmpGtOrEq
- type OpCmpLs
- type OpCmpLsOrEq
- type OpCmpNotEq
- type OpLogAnd
- type OpLogNot
- type OpLogOr
- type OpNumAdd
- type OpNumDiv
- type OpNumMul
- type OpNumSub
- type Selector
- type SliceSelector
- type UnaryOperator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryOperator ¶
type BinaryOperator struct { LHS *Expr `json:"lhs,omitempty"` RHS *Expr `json:"rhs,omitempty"` // oneof LogAnd *OpLogAnd `json:"and,omitempty"` LogOr *OpLogOr `json:"or,omitempty"` NumAdd *OpNumAdd `json:"add,omitempty"` NumSub *OpNumSub `json:"sub,omitempty"` NumDiv *OpNumDiv `json:"div,omitempty"` NumMul *OpNumMul `json:"mul,omitempty"` CmpEq *OpCmpEq `json:"eq,omitempty"` CmpNotEq *OpCmpNotEq `json:"not_eq,omitempty"` CmpGt *OpCmpGt `json:"gt,omitempty"` CmpGtOrEq *OpCmpGtOrEq `json:"gte,omitempty"` CmpLs *OpCmpLs `json:"ls,omitempty"` CmpLsOrEq *OpCmpLsOrEq `json:"lse,omitempty"` }
type Expr ¶
type Expr struct { // oneof Literal *Literal `json:"literal,omitempty"` Selector *Selector `json:"selector,omitempty"` UnaryOperator *UnaryOperator `json:"unary_operator,omitempty"` BinaryOperator *BinaryOperator `json:"binary_operator,omitempty"` FuncCall *FuncCall `json:"func_call,omitempty"` Next *Expr `json:"next,omitempty"` }
type MemberSelector ¶
type NoopSelector ¶
type NoopSelector struct{}
type OpCmpGtOrEq ¶
type OpCmpGtOrEq struct{}
type OpCmpLsOrEq ¶
type OpCmpLsOrEq struct{}
type OpCmpNotEq ¶
type OpCmpNotEq struct{}
type Selector ¶
type Selector struct { // oneof Noop *NoopSelector `json:"noop,omitempty"` Member *MemberSelector `json:"member,omitempty"` Slice *SliceSelector `json:"slice,omitempty"` }
type SliceSelector ¶
type UnaryOperator ¶
Click to show internal directories.
Click to hide internal directories.