Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryOp ¶
type BinaryOp struct { Operator Operator LHS Expression RHS Expression }
func (*BinaryOp) Fold ¶
func (bo *BinaryOp) Fold() Expression
type Expression ¶
type Expression interface { String() string Fold() Expression }
type NumberLiteral ¶
type NumberLiteral struct {
Value int64
}
func (*NumberLiteral) Fold ¶
func (nl *NumberLiteral) Fold() Expression
func (*NumberLiteral) String ¶
func (nl *NumberLiteral) String() string
type VariableAccess ¶
type VariableAccess struct {
Name string
}
func (*VariableAccess) Fold ¶
func (va *VariableAccess) Fold() Expression
func (*VariableAccess) String ¶
func (va *VariableAccess) String() string
Click to show internal directories.
Click to hide internal directories.