Documentation
¶
Index ¶
- func Walk(v Visitor, node ASTNode)
- type ASTNode
- type BaseNode
- type BinaryOpNode
- type BuiltinFunctionNode
- type DataFunctionNode
- type DataPipelineNode
- type Dumper
- type FilterGenerator
- type IdentifierNode
- type NumberNode
- type Numeric
- type QuantifierNode
- type QueryNode
- type StringNode
- type TimeExpressionNode
- type TimePredicateNode
- type TimeWhenceNode
- type TimespanNode
- type TopicSelectorNode
- type TupleElementNode
- type TupleNode
- type UnaryOpNode
- type Visitor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryOpNode ¶
func (BinaryOpNode) DerivedValue ¶
func (b BinaryOpNode) DerivedValue() int64
type BuiltinFunctionNode ¶
type DataFunctionNode ¶
type DataFunctionNode struct { BaseNode Name parse.Token Arguments []IdentifierNode Next *DataFunctionNode Expression ASTNode }
type DataPipelineNode ¶
type FilterGenerator ¶
type IdentifierNode ¶
type IdentifierNode struct {
BaseNode
}
type NumberNode ¶
func MakeNumberNode ¶
func MakeNumberNode(tok parse.Token) *NumberNode
func (NumberNode) DerivedValue ¶
func (n NumberNode) DerivedValue() int64
type QueryNode ¶
type StringNode ¶
func MakeStringNode ¶
func MakeStringNode(tok parse.Token) *StringNode
type TimeExpressionNode ¶
func (TimeExpressionNode) Time ¶
func (t TimeExpressionNode) Time() time.Time
type TimePredicateNode ¶
type TimeWhenceNode ¶
func (TimeWhenceNode) Time ¶
func (t TimeWhenceNode) Time() time.Time
type TimespanNode ¶
type TimespanNode struct {
BaseNode
}
func (TimespanNode) DerivedValue ¶
func (t TimespanNode) DerivedValue() int64
type TopicSelectorNode ¶
func (TopicSelectorNode) Value ¶
func (t TopicSelectorNode) Value() string
type TupleElementNode ¶
type TupleElementNode struct { BaseNode Identifier IdentifierNode Subscript NumberNode }
Click to show internal directories.
Click to hide internal directories.