Versions in this module Expand all Collapse all v0 v0.1.0 Apr 14, 2024 Changes in this version + func WriteTo(w io.Writer, node Node) error + type AbsNode struct + Argument Node + func (n *AbsNode) String() string + func (n *AbsNode) Walk(v Visitor) + type AddNode struct + Left Node + Right Node + func (n *AddNode) String() string + func (n *AddNode) Walk(v Visitor) + type AndNode struct + Left Node + Right Node + func (n *AndNode) String() string + func (n *AndNode) Walk(v Visitor) + type ArrayNode struct + Value []any + func (n *ArrayNode) String() string + type AssertArrayCurrentNode struct + func (n AssertArrayCurrentNode) String() string + type AssertArrayNode struct + Child Node + func (n *AssertArrayNode) String() string + func (n *AssertArrayNode) Walk(v Visitor) + type AssertNumberNode struct + Child Node + func (n *AssertNumberNode) String() string + func (n *AssertNumberNode) Walk(v Visitor) + type AvgNode struct + Argument Node + func (n *AvgNode) String() string + func (n *AvgNode) Walk(v Visitor) + type BoolNode struct + Value bool + func (n BoolNode) String() string + type CeilNode struct + Argument Node + func (n *CeilNode) String() string + func (n *CeilNode) Walk(v Visitor) + type ContainsNode struct + Arguments [2]Node + func (n *ContainsNode) String() string + func (n *ContainsNode) Walk(v Visitor) + type CurrentNode struct + func (n CurrentNode) String() string + type DefineVariables struct + Child Node + Variables map[string]Node + func (n *DefineVariables) String() string + func (n *DefineVariables) Walk(v Visitor) + type DivideNode struct + Left Node + Right Node + func (n *DivideNode) String() string + func (n *DivideNode) Walk(v Visitor) + type EndsWithNode struct + Arguments [2]Node + func (n *EndsWithNode) String() string + func (n *EndsWithNode) Walk(v Visitor) + type EqualNode struct + Left Node + Right Node + func (n *EqualNode) String() string + func (n *EqualNode) Walk(v Visitor) + type FieldNode struct + Value string + func (n *FieldNode) String() string + type FilterAndProjectCurrentNode struct + Child Node + Filter Node + func (n *FilterAndProjectCurrentNode) String() string + func (n *FilterAndProjectCurrentNode) Walk(v Visitor) + type FilterAndProjectNode struct + Filter Node + Left Node + Right Node + func (n *FilterAndProjectNode) String() string + func (n *FilterAndProjectNode) Walk(v Visitor) + type FilterCurrentNode struct + Filter Node + func (n *FilterCurrentNode) String() string + func (n *FilterCurrentNode) Walk(v Visitor) + type FilterNode struct + Child Node + Filter Node + func (n *FilterNode) String() string + func (n *FilterNode) Walk(v Visitor) + type FindFirstBetweenNode struct + Arguments [4]Node + func (n *FindFirstBetweenNode) String() string + func (n *FindFirstBetweenNode) Walk(v Visitor) + type FindFirstFromNode struct + Arguments [3]Node + func (n *FindFirstFromNode) String() string + func (n *FindFirstFromNode) Walk(v Visitor) + type FindFirstNode struct + Arguments [2]Node + func (n *FindFirstNode) String() string + func (n *FindFirstNode) Walk(v Visitor) + type FindLastBetweenNode struct + Arguments [4]Node + func (n *FindLastBetweenNode) String() string + func (n *FindLastBetweenNode) Walk(v Visitor) + type FindLastFromNode struct + Arguments [3]Node + func (n *FindLastFromNode) String() string + func (n *FindLastFromNode) Walk(v Visitor) + type FindLastNode struct + Arguments [2]Node + func (n *FindLastNode) String() string + func (n *FindLastNode) Walk(v Visitor) + type FlattenAndProjectCurrentNode struct + Child Node + func (n *FlattenAndProjectCurrentNode) String() string + func (n *FlattenAndProjectCurrentNode) Walk(v Visitor) + type FlattenAndProjectNode struct + Left Node + Right Node + func (n *FlattenAndProjectNode) String() string + func (n *FlattenAndProjectNode) Walk(v Visitor) + type FlattenCurrentNode struct + func (n FlattenCurrentNode) String() string + type FlattenNode struct + Child Node + func (n *FlattenNode) String() string + func (n *FlattenNode) Walk(v Visitor) + type FloorNode struct + Argument Node + func (n *FloorNode) String() string + func (n *FloorNode) Walk(v Visitor) + type FromItemsNode struct + Argument Node + func (n *FromItemsNode) String() string + func (n *FromItemsNode) Walk(v Visitor) + type GreaterNode struct + Left Node + Right Node + func (n *GreaterNode) String() string + func (n *GreaterNode) Walk(v Visitor) + type GreaterOrEqualNode struct + Left Node + Right Node + func (n *GreaterOrEqualNode) String() string + func (n *GreaterOrEqualNode) Walk(v Visitor) + type GroupByNode struct + Arguments [2]Node + func (n *GroupByNode) String() string + func (n *GroupByNode) Walk(v Visitor) + type IndexCurrentNode struct + Value int + func (n *IndexCurrentNode) String() string + type IndexNode struct + Child Node + Value int + func (n *IndexNode) String() string + func (n *IndexNode) Walk(v Visitor) + type IntegerDivideNode struct + Left Node + Right Node + func (n *IntegerDivideNode) String() string + func (n *IntegerDivideNode) Walk(v Visitor) + type InvalidFunctionArgumentError struct + func (err *InvalidFunctionArgumentError) Error() string + type InvalidFunctionCallError struct + Function string + func (err *InvalidFunctionCallError) Error() string + type InvalidSliceStepError struct + func (err *InvalidSliceStepError) Error() string + type ItemsNode struct + Argument Node + func (n *ItemsNode) String() string + func (n *ItemsNode) Walk(v Visitor) + type JoinNode struct + Arguments [2]Node + func (n *JoinNode) String() string + func (n *JoinNode) Walk(v Visitor) + type KeysNode struct + Argument Node + func (n *KeysNode) String() string + func (n *KeysNode) Walk(v Visitor) + type LengthNode struct + Argument Node + func (n *LengthNode) String() string + func (n *LengthNode) Walk(v Visitor) + type LessNode struct + Left Node + Right Node + func (n *LessNode) String() string + func (n *LessNode) Walk(v Visitor) + type LessOrEqualNode struct + Left Node + Right Node + func (n *LessOrEqualNode) String() string + func (n *LessOrEqualNode) Walk(v Visitor) + type LowerNode struct + Argument Node + func (n *LowerNode) String() string + func (n *LowerNode) Walk(v Visitor) + type MapNode struct + Arguments [2]Node + func (n *MapNode) String() string + func (n *MapNode) Walk(v Visitor) + type MaxByNode struct + Arguments [2]Node + func (n *MaxByNode) String() string + func (n *MaxByNode) Walk(v Visitor) + type MaxNode struct + Argument Node + func (n *MaxNode) String() string + func (n *MaxNode) Walk(v Visitor) + type MergeNode struct + Arguments []Node + func (n *MergeNode) String() string + func (n *MergeNode) Walk(v Visitor) + type MinByNode struct + Arguments [2]Node + func (n *MinByNode) String() string + func (n *MinByNode) Walk(v Visitor) + type MinNode struct + Argument Node + func (n *MinNode) String() string + func (n *MinNode) Walk(v Visitor) + type ModuloNode struct + Left Node + Right Node + func (n *ModuloNode) String() string + func (n *ModuloNode) Walk(v Visitor) + type MultiplyNode struct + Left Node + Right Node + func (n *MultiplyNode) String() string + func (n *MultiplyNode) Walk(v Visitor) + type NegateNode struct + Child Node + func (n *NegateNode) String() string + func (n *NegateNode) Walk(v Visitor) + type Node interface + String func() string + func Parse(expression string) (Node, error) + type NotEqualNode struct + Left Node + Right Node + func (n *NotEqualNode) String() string + func (n *NotEqualNode) Walk(v Visitor) + type NotNode struct + Child Node + func (n *NotNode) String() string + func (n *NotNode) Walk(v Visitor) + type NotNullNode struct + Arguments []Node + func (n *NotNullNode) String() string + func (n *NotNullNode) Walk(v Visitor) + type NullNode struct + func (n NullNode) String() string + type NumberNode struct + Value json.Number + func (n *NumberNode) String() string + type ObjectNode struct + Value map[string]any + func (n *ObjectNode) String() string + type ObjectValuesCurrentNode struct + func (n ObjectValuesCurrentNode) String() string + type ObjectValuesNode struct + Child Node + func (n *ObjectValuesNode) String() string + func (n *ObjectValuesNode) Walk(v Visitor) + type OrNode struct + Left Node + Right Node + func (n *OrNode) String() string + func (n *OrNode) Walk(v Visitor) + type PadLeftNode struct + Arguments [3]Node + func (n *PadLeftNode) String() string + func (n *PadLeftNode) Walk(v Visitor) + type PadRightNode struct + Arguments [3]Node + func (n *PadRightNode) String() string + func (n *PadRightNode) Walk(v Visitor) + type PadSpaceLeftNode struct + Arguments [2]Node + func (n *PadSpaceLeftNode) String() string + func (n *PadSpaceLeftNode) Walk(v Visitor) + type PadSpaceRightNode struct + Arguments [2]Node + func (n *PadSpaceRightNode) String() string + func (n *PadSpaceRightNode) Walk(v Visitor) + type PipeNode struct + Left Node + Right Node + func (n *PipeNode) String() string + func (n *PipeNode) Walk(v Visitor) + type ProjectArrayCurrentNode struct + Child Node + func (n *ProjectArrayCurrentNode) String() string + func (n *ProjectArrayCurrentNode) Walk(v Visitor) + type ProjectArrayNode struct + Left Node + Right Node + func (n *ProjectArrayNode) String() string + func (n *ProjectArrayNode) Walk(v Visitor) + type ProjectObjectCurrentNode struct + Child Node + func (n *ProjectObjectCurrentNode) String() string + func (n *ProjectObjectCurrentNode) Walk(v Visitor) + type ProjectObjectNode struct + Left Node + Right Node + func (n *ProjectObjectNode) String() string + func (n *ProjectObjectNode) Walk(v Visitor) + type ReplaceCountNode struct + Arguments [4]Node + func (n *ReplaceCountNode) String() string + func (n *ReplaceCountNode) Walk(v Visitor) + type ReplaceNode struct + Arguments [3]Node + func (n *ReplaceNode) String() string + func (n *ReplaceNode) Walk(v Visitor) + type ReverseNode struct + Argument Node + func (n *ReverseNode) String() string + func (n *ReverseNode) Walk(v Visitor) + type RootNode struct + func (n RootNode) String() string + type SelectArrayCurrentNode struct + Fields []Node + func (n *SelectArrayCurrentNode) String() string + func (n *SelectArrayCurrentNode) Walk(v Visitor) + type SelectArrayNode struct + Child Node + Fields []Node + func (n *SelectArrayNode) String() string + func (n *SelectArrayNode) Walk(v Visitor) + type SelectArraySingleCurrentNode struct + Field Node + func (n *SelectArraySingleCurrentNode) String() string + func (n *SelectArraySingleCurrentNode) Walk(v Visitor) + type SelectArraySingleNode struct + Child Node + Field Node + func (n *SelectArraySingleNode) String() string + func (n *SelectArraySingleNode) Walk(v Visitor) + type SelectObjectCurrentNode struct + Fields map[string]Node + func (n *SelectObjectCurrentNode) String() string + func (n *SelectObjectCurrentNode) Walk(v Visitor) + type SelectObjectNode struct + Child Node + Fields map[string]Node + func (n *SelectObjectNode) String() string + func (n *SelectObjectNode) Walk(v Visitor) + type SelectObjectSingleCurrentNode struct + Field Node + Key string + func (n *SelectObjectSingleCurrentNode) String() string + func (n *SelectObjectSingleCurrentNode) Walk(v Visitor) + type SelectObjectSingleNode struct + Child Node + Field Node + Key string + func (n *SelectObjectSingleNode) String() string + func (n *SelectObjectSingleNode) Walk(v Visitor) + type SliceCurrentNode struct + Start int + Stop int + func (n *SliceCurrentNode) String() string + type SliceNode struct + Child Node + Start int + Stop int + func (n *SliceNode) String() string + func (n *SliceNode) Walk(v Visitor) + type SliceStepCurrentNode struct + Start int + Step int + Stop int + func (n *SliceStepCurrentNode) String() string + type SliceStepNode struct + Child Node + Start int + Step int + Stop int + func (n *SliceStepNode) String() string + func (n *SliceStepNode) Walk(v Visitor) + type SmallIndexCurrentNode struct + Value uint8 + func (n SmallIndexCurrentNode) String() string + type SortByNode struct + Arguments [2]Node + func (n *SortByNode) String() string + func (n *SortByNode) Walk(v Visitor) + type SortNode struct + Argument Node + func (n *SortNode) String() string + func (n *SortNode) Walk(v Visitor) + type SplitCountNode struct + Arguments [3]Node + func (n *SplitCountNode) String() string + func (n *SplitCountNode) Walk(v Visitor) + type SplitNode struct + Arguments [2]Node + func (n *SplitNode) String() string + func (n *SplitNode) Walk(v Visitor) + type StartsWithNode struct + Arguments [2]Node + func (n *StartsWithNode) String() string + func (n *StartsWithNode) Walk(v Visitor) + type StringNode struct + Value string + func (n *StringNode) String() string + type SubtractNode struct + Left Node + Right Node + func (n *SubtractNode) String() string + func (n *SubtractNode) Walk(v Visitor) + type SumNode struct + Argument Node + func (n *SumNode) String() string + func (n *SumNode) Walk(v Visitor) + type ToArrayNode struct + Argument Node + func (n *ToArrayNode) String() string + func (n *ToArrayNode) Walk(v Visitor) + type ToNumberNode struct + Argument Node + func (n *ToNumberNode) String() string + func (n *ToNumberNode) Walk(v Visitor) + type ToStringNode struct + Argument Node + func (n *ToStringNode) String() string + func (n *ToStringNode) Walk(v Visitor) + type TrimLeftNode struct + Arguments [2]Node + func (n *TrimLeftNode) String() string + func (n *TrimLeftNode) Walk(v Visitor) + type TrimNode struct + Arguments [2]Node + func (n *TrimNode) String() string + func (n *TrimNode) Walk(v Visitor) + type TrimRightNode struct + Arguments [2]Node + func (n *TrimRightNode) String() string + func (n *TrimRightNode) Walk(v Visitor) + type TrimSpaceLeftNode struct + Argument Node + func (n *TrimSpaceLeftNode) String() string + func (n *TrimSpaceLeftNode) Walk(v Visitor) + type TrimSpaceNode struct + Argument Node + func (n *TrimSpaceNode) String() string + func (n *TrimSpaceNode) Walk(v Visitor) + type TrimSpaceRightNode struct + Argument Node + func (n *TrimSpaceRightNode) String() string + func (n *TrimSpaceRightNode) Walk(v Visitor) + type TypeNode struct + Argument Node + func (n *TypeNode) String() string + func (n *TypeNode) Walk(v Visitor) + type UnknownFunctionError struct + Function string + func (err *UnknownFunctionError) Error() string + type UpperNode struct + Argument Node + func (n *UpperNode) String() string + func (n *UpperNode) Walk(v Visitor) + type ValuesNode struct + Argument Node + func (n *ValuesNode) String() string + func (n *ValuesNode) Walk(v Visitor) + type VariableNode struct + Name string + func (n *VariableNode) String() string + type Visitor interface + Visit func(Node) + type Walker interface + Walk func(Visitor) + type ZipNode struct + Arguments []Node + func (n *ZipNode) String() string + func (n *ZipNode) Walk(v Visitor)