Documentation ¶
Index ¶
- func WriteTo(w io.Writer, node Node) error
- type AbsNode
- type AddNode
- type AndNode
- type ArrayNode
- type AssertArrayCurrentNode
- type AssertArrayNode
- type AssertNumberNode
- type AvgNode
- type BoolNode
- type CeilNode
- type ContainsNode
- type CurrentNode
- type DefineVariables
- type DivideNode
- type EndsWithNode
- type EqualNode
- type FieldNode
- type FilterAndProjectCurrentNode
- type FilterAndProjectNode
- type FilterCurrentNode
- type FilterNode
- type FindFirstBetweenNode
- type FindFirstFromNode
- type FindFirstNode
- type FindLastBetweenNode
- type FindLastFromNode
- type FindLastNode
- type FlattenAndProjectCurrentNode
- type FlattenAndProjectNode
- type FlattenCurrentNode
- type FlattenNode
- type FloorNode
- type FromItemsNode
- type GreaterNode
- type GreaterOrEqualNode
- type GroupByNode
- type IndexCurrentNode
- type IndexNode
- type IntegerDivideNode
- type InvalidFunctionArgumentError
- type InvalidFunctionCallError
- type InvalidSliceStepError
- type ItemsNode
- type JoinNode
- type KeysNode
- type LengthNode
- type LessNode
- type LessOrEqualNode
- type LowerNode
- type MapNode
- type MaxByNode
- type MaxNode
- type MergeNode
- type MinByNode
- type MinNode
- type ModuloNode
- type MultiplyNode
- type NegateNode
- type Node
- type NotEqualNode
- type NotNode
- type NotNullNode
- type NullNode
- type NumberNode
- type ObjectNode
- type ObjectValuesCurrentNode
- type ObjectValuesNode
- type OrNode
- type PadLeftNode
- type PadRightNode
- type PadSpaceLeftNode
- type PadSpaceRightNode
- type PipeNode
- type ProjectArrayCurrentNode
- type ProjectArrayNode
- type ProjectObjectCurrentNode
- type ProjectObjectNode
- type ReplaceCountNode
- type ReplaceNode
- type ReverseNode
- type RootNode
- type SelectArrayCurrentNode
- type SelectArrayNode
- type SelectArraySingleCurrentNode
- type SelectArraySingleNode
- type SelectObjectCurrentNode
- type SelectObjectNode
- type SelectObjectSingleCurrentNode
- type SelectObjectSingleNode
- type SliceCurrentNode
- type SliceNode
- type SliceStepCurrentNode
- type SliceStepNode
- type SmallIndexCurrentNode
- type SortByNode
- type SortNode
- type SplitCountNode
- type SplitNode
- type StartsWithNode
- type StringNode
- type SubtractNode
- type SumNode
- type ToArrayNode
- type ToNumberNode
- type ToStringNode
- type TrimLeftNode
- type TrimNode
- type TrimRightNode
- type TrimSpaceLeftNode
- type TrimSpaceNode
- type TrimSpaceRightNode
- type TypeNode
- type UnknownFunctionError
- type UpperNode
- type ValuesNode
- type VariableNode
- type Visitor
- type Walker
- type ZipNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssertArrayCurrentNode ¶
type AssertArrayCurrentNode struct{}
func (AssertArrayCurrentNode) String ¶
func (n AssertArrayCurrentNode) String() string
type AssertArrayNode ¶
type AssertArrayNode struct {
Child Node
}
func (*AssertArrayNode) String ¶
func (n *AssertArrayNode) String() string
func (*AssertArrayNode) Walk ¶
func (n *AssertArrayNode) Walk(v Visitor)
type AssertNumberNode ¶
type AssertNumberNode struct {
Child Node
}
func (*AssertNumberNode) String ¶
func (n *AssertNumberNode) String() string
func (*AssertNumberNode) Walk ¶
func (n *AssertNumberNode) Walk(v Visitor)
type ContainsNode ¶
type ContainsNode struct {
Arguments [2]Node
}
func (*ContainsNode) String ¶
func (n *ContainsNode) String() string
func (*ContainsNode) Walk ¶
func (n *ContainsNode) Walk(v Visitor)
type CurrentNode ¶
type CurrentNode struct{}
func (CurrentNode) String ¶
func (n CurrentNode) String() string
type DefineVariables ¶
func (*DefineVariables) String ¶
func (n *DefineVariables) String() string
func (*DefineVariables) Walk ¶
func (n *DefineVariables) Walk(v Visitor)
type DivideNode ¶
func (*DivideNode) String ¶
func (n *DivideNode) String() string
func (*DivideNode) Walk ¶
func (n *DivideNode) Walk(v Visitor)
type EndsWithNode ¶
type EndsWithNode struct {
Arguments [2]Node
}
func (*EndsWithNode) String ¶
func (n *EndsWithNode) String() string
func (*EndsWithNode) Walk ¶
func (n *EndsWithNode) Walk(v Visitor)
type FilterAndProjectCurrentNode ¶
func (*FilterAndProjectCurrentNode) String ¶
func (n *FilterAndProjectCurrentNode) String() string
func (*FilterAndProjectCurrentNode) Walk ¶
func (n *FilterAndProjectCurrentNode) Walk(v Visitor)
type FilterAndProjectNode ¶
func (*FilterAndProjectNode) String ¶
func (n *FilterAndProjectNode) String() string
func (*FilterAndProjectNode) Walk ¶
func (n *FilterAndProjectNode) Walk(v Visitor)
type FilterCurrentNode ¶
type FilterCurrentNode struct {
Filter Node
}
func (*FilterCurrentNode) String ¶
func (n *FilterCurrentNode) String() string
func (*FilterCurrentNode) Walk ¶
func (n *FilterCurrentNode) Walk(v Visitor)
type FilterNode ¶
func (*FilterNode) String ¶
func (n *FilterNode) String() string
func (*FilterNode) Walk ¶
func (n *FilterNode) Walk(v Visitor)
type FindFirstBetweenNode ¶
type FindFirstBetweenNode struct {
Arguments [4]Node
}
func (*FindFirstBetweenNode) String ¶
func (n *FindFirstBetweenNode) String() string
func (*FindFirstBetweenNode) Walk ¶
func (n *FindFirstBetweenNode) Walk(v Visitor)
type FindFirstFromNode ¶
type FindFirstFromNode struct {
Arguments [3]Node
}
func (*FindFirstFromNode) String ¶
func (n *FindFirstFromNode) String() string
func (*FindFirstFromNode) Walk ¶
func (n *FindFirstFromNode) Walk(v Visitor)
type FindFirstNode ¶
type FindFirstNode struct {
Arguments [2]Node
}
func (*FindFirstNode) String ¶
func (n *FindFirstNode) String() string
func (*FindFirstNode) Walk ¶
func (n *FindFirstNode) Walk(v Visitor)
type FindLastBetweenNode ¶
type FindLastBetweenNode struct {
Arguments [4]Node
}
func (*FindLastBetweenNode) String ¶
func (n *FindLastBetweenNode) String() string
func (*FindLastBetweenNode) Walk ¶
func (n *FindLastBetweenNode) Walk(v Visitor)
type FindLastFromNode ¶
type FindLastFromNode struct {
Arguments [3]Node
}
func (*FindLastFromNode) String ¶
func (n *FindLastFromNode) String() string
func (*FindLastFromNode) Walk ¶
func (n *FindLastFromNode) Walk(v Visitor)
type FindLastNode ¶
type FindLastNode struct {
Arguments [2]Node
}
func (*FindLastNode) String ¶
func (n *FindLastNode) String() string
func (*FindLastNode) Walk ¶
func (n *FindLastNode) Walk(v Visitor)
type FlattenAndProjectCurrentNode ¶
type FlattenAndProjectCurrentNode struct {
Child Node
}
func (*FlattenAndProjectCurrentNode) String ¶
func (n *FlattenAndProjectCurrentNode) String() string
func (*FlattenAndProjectCurrentNode) Walk ¶
func (n *FlattenAndProjectCurrentNode) Walk(v Visitor)
type FlattenAndProjectNode ¶
func (*FlattenAndProjectNode) String ¶
func (n *FlattenAndProjectNode) String() string
func (*FlattenAndProjectNode) Walk ¶
func (n *FlattenAndProjectNode) Walk(v Visitor)
type FlattenCurrentNode ¶
type FlattenCurrentNode struct{}
func (FlattenCurrentNode) String ¶
func (n FlattenCurrentNode) String() string
type FlattenNode ¶
type FlattenNode struct {
Child Node
}
func (*FlattenNode) String ¶
func (n *FlattenNode) String() string
func (*FlattenNode) Walk ¶
func (n *FlattenNode) Walk(v Visitor)
type FromItemsNode ¶
type FromItemsNode struct {
Argument Node
}
func (*FromItemsNode) String ¶
func (n *FromItemsNode) String() string
func (*FromItemsNode) Walk ¶
func (n *FromItemsNode) Walk(v Visitor)
type GreaterNode ¶
func (*GreaterNode) String ¶
func (n *GreaterNode) String() string
func (*GreaterNode) Walk ¶
func (n *GreaterNode) Walk(v Visitor)
type GreaterOrEqualNode ¶
func (*GreaterOrEqualNode) String ¶
func (n *GreaterOrEqualNode) String() string
func (*GreaterOrEqualNode) Walk ¶
func (n *GreaterOrEqualNode) Walk(v Visitor)
type GroupByNode ¶
type GroupByNode struct {
Arguments [2]Node
}
func (*GroupByNode) String ¶
func (n *GroupByNode) String() string
func (*GroupByNode) Walk ¶
func (n *GroupByNode) Walk(v Visitor)
type IndexCurrentNode ¶
type IndexCurrentNode struct {
Value int
}
func (*IndexCurrentNode) String ¶
func (n *IndexCurrentNode) String() string
type IntegerDivideNode ¶
func (*IntegerDivideNode) String ¶
func (n *IntegerDivideNode) String() string
func (*IntegerDivideNode) Walk ¶
func (n *IntegerDivideNode) Walk(v Visitor)
type InvalidFunctionArgumentError ¶
type InvalidFunctionArgumentError struct {
// contains filtered or unexported fields
}
func (*InvalidFunctionArgumentError) Error ¶
func (err *InvalidFunctionArgumentError) Error() string
type InvalidFunctionCallError ¶
type InvalidFunctionCallError struct {
Function string
}
func (*InvalidFunctionCallError) Error ¶
func (err *InvalidFunctionCallError) Error() string
type InvalidSliceStepError ¶
type InvalidSliceStepError struct{}
func (*InvalidSliceStepError) Error ¶
func (err *InvalidSliceStepError) Error() string
type LengthNode ¶
type LengthNode struct {
Argument Node
}
func (*LengthNode) String ¶
func (n *LengthNode) String() string
func (*LengthNode) Walk ¶
func (n *LengthNode) Walk(v Visitor)
type LessOrEqualNode ¶
func (*LessOrEqualNode) String ¶
func (n *LessOrEqualNode) String() string
func (*LessOrEqualNode) Walk ¶
func (n *LessOrEqualNode) Walk(v Visitor)
type ModuloNode ¶
func (*ModuloNode) String ¶
func (n *ModuloNode) String() string
func (*ModuloNode) Walk ¶
func (n *ModuloNode) Walk(v Visitor)
type MultiplyNode ¶
func (*MultiplyNode) String ¶
func (n *MultiplyNode) String() string
func (*MultiplyNode) Walk ¶
func (n *MultiplyNode) Walk(v Visitor)
type NegateNode ¶
type NegateNode struct {
Child Node
}
func (*NegateNode) String ¶
func (n *NegateNode) String() string
func (*NegateNode) Walk ¶
func (n *NegateNode) Walk(v Visitor)
type NotEqualNode ¶
func (*NotEqualNode) String ¶
func (n *NotEqualNode) String() string
func (*NotEqualNode) Walk ¶
func (n *NotEqualNode) Walk(v Visitor)
type NotNullNode ¶
type NotNullNode struct {
Arguments []Node
}
func (*NotNullNode) String ¶
func (n *NotNullNode) String() string
func (*NotNullNode) Walk ¶
func (n *NotNullNode) Walk(v Visitor)
type NumberNode ¶
func (*NumberNode) String ¶
func (n *NumberNode) String() string
type ObjectNode ¶
func (*ObjectNode) String ¶
func (n *ObjectNode) String() string
type ObjectValuesCurrentNode ¶
type ObjectValuesCurrentNode struct{}
func (ObjectValuesCurrentNode) String ¶
func (n ObjectValuesCurrentNode) String() string
type ObjectValuesNode ¶
type ObjectValuesNode struct {
Child Node
}
func (*ObjectValuesNode) String ¶
func (n *ObjectValuesNode) String() string
func (*ObjectValuesNode) Walk ¶
func (n *ObjectValuesNode) Walk(v Visitor)
type PadLeftNode ¶
type PadLeftNode struct {
Arguments [3]Node
}
func (*PadLeftNode) String ¶
func (n *PadLeftNode) String() string
func (*PadLeftNode) Walk ¶
func (n *PadLeftNode) Walk(v Visitor)
type PadRightNode ¶
type PadRightNode struct {
Arguments [3]Node
}
func (*PadRightNode) String ¶
func (n *PadRightNode) String() string
func (*PadRightNode) Walk ¶
func (n *PadRightNode) Walk(v Visitor)
type PadSpaceLeftNode ¶
type PadSpaceLeftNode struct {
Arguments [2]Node
}
func (*PadSpaceLeftNode) String ¶
func (n *PadSpaceLeftNode) String() string
func (*PadSpaceLeftNode) Walk ¶
func (n *PadSpaceLeftNode) Walk(v Visitor)
type PadSpaceRightNode ¶
type PadSpaceRightNode struct {
Arguments [2]Node
}
func (*PadSpaceRightNode) String ¶
func (n *PadSpaceRightNode) String() string
func (*PadSpaceRightNode) Walk ¶
func (n *PadSpaceRightNode) Walk(v Visitor)
type ProjectArrayCurrentNode ¶
type ProjectArrayCurrentNode struct {
Child Node
}
func (*ProjectArrayCurrentNode) String ¶
func (n *ProjectArrayCurrentNode) String() string
func (*ProjectArrayCurrentNode) Walk ¶
func (n *ProjectArrayCurrentNode) Walk(v Visitor)
type ProjectArrayNode ¶
func (*ProjectArrayNode) String ¶
func (n *ProjectArrayNode) String() string
func (*ProjectArrayNode) Walk ¶
func (n *ProjectArrayNode) Walk(v Visitor)
type ProjectObjectCurrentNode ¶
type ProjectObjectCurrentNode struct {
Child Node
}
func (*ProjectObjectCurrentNode) String ¶
func (n *ProjectObjectCurrentNode) String() string
func (*ProjectObjectCurrentNode) Walk ¶
func (n *ProjectObjectCurrentNode) Walk(v Visitor)
type ProjectObjectNode ¶
func (*ProjectObjectNode) String ¶
func (n *ProjectObjectNode) String() string
func (*ProjectObjectNode) Walk ¶
func (n *ProjectObjectNode) Walk(v Visitor)
type ReplaceCountNode ¶
type ReplaceCountNode struct {
Arguments [4]Node
}
func (*ReplaceCountNode) String ¶
func (n *ReplaceCountNode) String() string
func (*ReplaceCountNode) Walk ¶
func (n *ReplaceCountNode) Walk(v Visitor)
type ReplaceNode ¶
type ReplaceNode struct {
Arguments [3]Node
}
func (*ReplaceNode) String ¶
func (n *ReplaceNode) String() string
func (*ReplaceNode) Walk ¶
func (n *ReplaceNode) Walk(v Visitor)
type ReverseNode ¶
type ReverseNode struct {
Argument Node
}
func (*ReverseNode) String ¶
func (n *ReverseNode) String() string
func (*ReverseNode) Walk ¶
func (n *ReverseNode) Walk(v Visitor)
type SelectArrayCurrentNode ¶
type SelectArrayCurrentNode struct {
Fields []Node
}
func (*SelectArrayCurrentNode) String ¶
func (n *SelectArrayCurrentNode) String() string
func (*SelectArrayCurrentNode) Walk ¶
func (n *SelectArrayCurrentNode) Walk(v Visitor)
type SelectArrayNode ¶
func (*SelectArrayNode) String ¶
func (n *SelectArrayNode) String() string
func (*SelectArrayNode) Walk ¶
func (n *SelectArrayNode) Walk(v Visitor)
type SelectArraySingleCurrentNode ¶
type SelectArraySingleCurrentNode struct {
Field Node
}
func (*SelectArraySingleCurrentNode) String ¶
func (n *SelectArraySingleCurrentNode) String() string
func (*SelectArraySingleCurrentNode) Walk ¶
func (n *SelectArraySingleCurrentNode) Walk(v Visitor)
type SelectArraySingleNode ¶
func (*SelectArraySingleNode) String ¶
func (n *SelectArraySingleNode) String() string
func (*SelectArraySingleNode) Walk ¶
func (n *SelectArraySingleNode) Walk(v Visitor)
type SelectObjectCurrentNode ¶
func (*SelectObjectCurrentNode) String ¶
func (n *SelectObjectCurrentNode) String() string
func (*SelectObjectCurrentNode) Walk ¶
func (n *SelectObjectCurrentNode) Walk(v Visitor)
type SelectObjectNode ¶
func (*SelectObjectNode) String ¶
func (n *SelectObjectNode) String() string
func (*SelectObjectNode) Walk ¶
func (n *SelectObjectNode) Walk(v Visitor)
type SelectObjectSingleCurrentNode ¶
func (*SelectObjectSingleCurrentNode) String ¶
func (n *SelectObjectSingleCurrentNode) String() string
func (*SelectObjectSingleCurrentNode) Walk ¶
func (n *SelectObjectSingleCurrentNode) Walk(v Visitor)
type SelectObjectSingleNode ¶
func (*SelectObjectSingleNode) String ¶
func (n *SelectObjectSingleNode) String() string
func (*SelectObjectSingleNode) Walk ¶
func (n *SelectObjectSingleNode) Walk(v Visitor)
type SliceCurrentNode ¶
func (*SliceCurrentNode) String ¶
func (n *SliceCurrentNode) String() string
type SliceStepCurrentNode ¶
func (*SliceStepCurrentNode) String ¶
func (n *SliceStepCurrentNode) String() string
type SliceStepNode ¶
func (*SliceStepNode) String ¶
func (n *SliceStepNode) String() string
func (*SliceStepNode) Walk ¶
func (n *SliceStepNode) Walk(v Visitor)
type SmallIndexCurrentNode ¶
type SmallIndexCurrentNode struct {
Value uint8
}
func (SmallIndexCurrentNode) String ¶
func (n SmallIndexCurrentNode) String() string
type SortByNode ¶
type SortByNode struct {
Arguments [2]Node
}
func (*SortByNode) String ¶
func (n *SortByNode) String() string
func (*SortByNode) Walk ¶
func (n *SortByNode) Walk(v Visitor)
type SplitCountNode ¶
type SplitCountNode struct {
Arguments [3]Node
}
func (*SplitCountNode) String ¶
func (n *SplitCountNode) String() string
func (*SplitCountNode) Walk ¶
func (n *SplitCountNode) Walk(v Visitor)
type StartsWithNode ¶
type StartsWithNode struct {
Arguments [2]Node
}
func (*StartsWithNode) String ¶
func (n *StartsWithNode) String() string
func (*StartsWithNode) Walk ¶
func (n *StartsWithNode) Walk(v Visitor)
type StringNode ¶
type StringNode struct {
Value string
}
func (*StringNode) String ¶
func (n *StringNode) String() string
type SubtractNode ¶
func (*SubtractNode) String ¶
func (n *SubtractNode) String() string
func (*SubtractNode) Walk ¶
func (n *SubtractNode) Walk(v Visitor)
type ToArrayNode ¶
type ToArrayNode struct {
Argument Node
}
func (*ToArrayNode) String ¶
func (n *ToArrayNode) String() string
func (*ToArrayNode) Walk ¶
func (n *ToArrayNode) Walk(v Visitor)
type ToNumberNode ¶
type ToNumberNode struct {
Argument Node
}
func (*ToNumberNode) String ¶
func (n *ToNumberNode) String() string
func (*ToNumberNode) Walk ¶
func (n *ToNumberNode) Walk(v Visitor)
type ToStringNode ¶
type ToStringNode struct {
Argument Node
}
func (*ToStringNode) String ¶
func (n *ToStringNode) String() string
func (*ToStringNode) Walk ¶
func (n *ToStringNode) Walk(v Visitor)
type TrimLeftNode ¶
type TrimLeftNode struct {
Arguments [2]Node
}
func (*TrimLeftNode) String ¶
func (n *TrimLeftNode) String() string
func (*TrimLeftNode) Walk ¶
func (n *TrimLeftNode) Walk(v Visitor)
type TrimRightNode ¶
type TrimRightNode struct {
Arguments [2]Node
}
func (*TrimRightNode) String ¶
func (n *TrimRightNode) String() string
func (*TrimRightNode) Walk ¶
func (n *TrimRightNode) Walk(v Visitor)
type TrimSpaceLeftNode ¶
type TrimSpaceLeftNode struct {
Argument Node
}
func (*TrimSpaceLeftNode) String ¶
func (n *TrimSpaceLeftNode) String() string
func (*TrimSpaceLeftNode) Walk ¶
func (n *TrimSpaceLeftNode) Walk(v Visitor)
type TrimSpaceNode ¶
type TrimSpaceNode struct {
Argument Node
}
func (*TrimSpaceNode) String ¶
func (n *TrimSpaceNode) String() string
func (*TrimSpaceNode) Walk ¶
func (n *TrimSpaceNode) Walk(v Visitor)
type TrimSpaceRightNode ¶
type TrimSpaceRightNode struct {
Argument Node
}
func (*TrimSpaceRightNode) String ¶
func (n *TrimSpaceRightNode) String() string
func (*TrimSpaceRightNode) Walk ¶
func (n *TrimSpaceRightNode) Walk(v Visitor)
type UnknownFunctionError ¶
type UnknownFunctionError struct {
Function string
}
func (*UnknownFunctionError) Error ¶
func (err *UnknownFunctionError) Error() string
type ValuesNode ¶
type ValuesNode struct {
Argument Node
}
func (*ValuesNode) String ¶
func (n *ValuesNode) String() string
func (*ValuesNode) Walk ¶
func (n *ValuesNode) Walk(v Visitor)
type VariableNode ¶
type VariableNode struct {
Name string
}
func (*VariableNode) String ¶
func (n *VariableNode) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.