parser

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: 0BSD Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteTo

func WriteTo(w io.Writer, node Node) error

Types

type AbsNode

type AbsNode struct {
	Argument Node
}

func (*AbsNode) String

func (n *AbsNode) String() string

func (*AbsNode) Walk

func (n *AbsNode) Walk(v Visitor)

type AddNode

type AddNode struct {
	Left  Node
	Right Node
}

func (*AddNode) String

func (n *AddNode) String() string

func (*AddNode) Walk

func (n *AddNode) Walk(v Visitor)

type AndNode

type AndNode struct {
	Left  Node
	Right Node
}

func (*AndNode) String

func (n *AndNode) String() string

func (*AndNode) Walk

func (n *AndNode) Walk(v Visitor)

type ArrayNode

type ArrayNode struct {
	Value []any
}

func (*ArrayNode) String

func (n *ArrayNode) String() string

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 AvgNode

type AvgNode struct {
	Argument Node
}

func (*AvgNode) String

func (n *AvgNode) String() string

func (*AvgNode) Walk

func (n *AvgNode) Walk(v Visitor)

type BoolNode

type BoolNode struct {
	Value bool
}

func (BoolNode) String

func (n BoolNode) String() string

type CeilNode

type CeilNode struct {
	Argument Node
}

func (*CeilNode) String

func (n *CeilNode) String() string

func (*CeilNode) Walk

func (n *CeilNode) 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

type DefineVariables struct {
	Variables map[string]Node
	Child     Node
}

func (*DefineVariables) String

func (n *DefineVariables) String() string

func (*DefineVariables) Walk

func (n *DefineVariables) Walk(v Visitor)

type DivideNode

type DivideNode struct {
	Left  Node
	Right Node
}

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 EqualNode

type EqualNode struct {
	Left  Node
	Right Node
}

func (*EqualNode) String

func (n *EqualNode) String() string

func (*EqualNode) Walk

func (n *EqualNode) Walk(v Visitor)

type FieldNode

type FieldNode struct {
	Value string
}

func (*FieldNode) String

func (n *FieldNode) String() string

type FilterAndProjectCurrentNode

type FilterAndProjectCurrentNode struct {
	Filter Node
	Child  Node
}

func (*FilterAndProjectCurrentNode) String

func (n *FilterAndProjectCurrentNode) String() string

func (*FilterAndProjectCurrentNode) Walk

type FilterAndProjectNode

type FilterAndProjectNode struct {
	Left   Node
	Filter Node
	Right  Node
}

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

type FilterNode struct {
	Child  Node
	Filter Node
}

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 (*FlattenAndProjectCurrentNode) Walk

type FlattenAndProjectNode

type FlattenAndProjectNode struct {
	Left  Node
	Right Node
}

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 FloorNode

type FloorNode struct {
	Argument Node
}

func (*FloorNode) String

func (n *FloorNode) String() string

func (*FloorNode) Walk

func (n *FloorNode) 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

type GreaterNode struct {
	Left  Node
	Right Node
}

func (*GreaterNode) String

func (n *GreaterNode) String() string

func (*GreaterNode) Walk

func (n *GreaterNode) Walk(v Visitor)

type GreaterOrEqualNode

type GreaterOrEqualNode struct {
	Left  Node
	Right Node
}

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 IndexNode

type IndexNode struct {
	Child Node
	Value int
}

func (*IndexNode) String

func (n *IndexNode) String() string

func (*IndexNode) Walk

func (n *IndexNode) Walk(v Visitor)

type IntegerDivideNode

type IntegerDivideNode struct {
	Left  Node
	Right Node
}

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 ItemsNode

type ItemsNode struct {
	Argument Node
}

func (*ItemsNode) String

func (n *ItemsNode) String() string

func (*ItemsNode) Walk

func (n *ItemsNode) Walk(v Visitor)

type JoinNode

type JoinNode struct {
	Arguments [2]Node
}

func (*JoinNode) String

func (n *JoinNode) String() string

func (*JoinNode) Walk

func (n *JoinNode) Walk(v Visitor)

type KeysNode

type KeysNode struct {
	Argument Node
}

func (*KeysNode) String

func (n *KeysNode) String() string

func (*KeysNode) Walk

func (n *KeysNode) Walk(v Visitor)

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 LessNode

type LessNode struct {
	Left  Node
	Right Node
}

func (*LessNode) String

func (n *LessNode) String() string

func (*LessNode) Walk

func (n *LessNode) Walk(v Visitor)

type LessOrEqualNode

type LessOrEqualNode struct {
	Left  Node
	Right Node
}

func (*LessOrEqualNode) String

func (n *LessOrEqualNode) String() string

func (*LessOrEqualNode) Walk

func (n *LessOrEqualNode) Walk(v Visitor)

type LowerNode

type LowerNode struct {
	Argument Node
}

func (*LowerNode) String

func (n *LowerNode) String() string

func (*LowerNode) Walk

func (n *LowerNode) Walk(v Visitor)

type MapNode

type MapNode struct {
	Arguments [2]Node
}

func (*MapNode) String

func (n *MapNode) String() string

func (*MapNode) Walk

func (n *MapNode) Walk(v Visitor)

type MaxByNode

type MaxByNode struct {
	Arguments [2]Node
}

func (*MaxByNode) String

func (n *MaxByNode) String() string

func (*MaxByNode) Walk

func (n *MaxByNode) Walk(v Visitor)

type MaxNode

type MaxNode struct {
	Argument Node
}

func (*MaxNode) String

func (n *MaxNode) String() string

func (*MaxNode) Walk

func (n *MaxNode) Walk(v Visitor)

type MergeNode

type MergeNode struct {
	Arguments []Node
}

func (*MergeNode) String

func (n *MergeNode) String() string

func (*MergeNode) Walk

func (n *MergeNode) Walk(v Visitor)

type MinByNode

type MinByNode struct {
	Arguments [2]Node
}

func (*MinByNode) String

func (n *MinByNode) String() string

func (*MinByNode) Walk

func (n *MinByNode) Walk(v Visitor)

type MinNode

type MinNode struct {
	Argument Node
}

func (*MinNode) String

func (n *MinNode) String() string

func (*MinNode) Walk

func (n *MinNode) Walk(v Visitor)

type ModuloNode

type ModuloNode struct {
	Left  Node
	Right Node
}

func (*ModuloNode) String

func (n *ModuloNode) String() string

func (*ModuloNode) Walk

func (n *ModuloNode) Walk(v Visitor)

type MultiplyNode

type MultiplyNode struct {
	Left  Node
	Right Node
}

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 Node

type Node interface {
	String() string
}

func Parse

func Parse(expression string) (Node, error)

type NotEqualNode

type NotEqualNode struct {
	Left  Node
	Right Node
}

func (*NotEqualNode) String

func (n *NotEqualNode) String() string

func (*NotEqualNode) Walk

func (n *NotEqualNode) Walk(v Visitor)

type NotNode

type NotNode struct {
	Child Node
}

func (*NotNode) String

func (n *NotNode) String() string

func (*NotNode) Walk

func (n *NotNode) 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 NullNode

type NullNode struct{}

func (NullNode) String

func (n NullNode) String() string

type NumberNode

type NumberNode struct {
	Value json.Number
}

func (*NumberNode) String

func (n *NumberNode) String() string

type ObjectNode

type ObjectNode struct {
	Value map[string]any
}

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 OrNode

type OrNode struct {
	Left  Node
	Right Node
}

func (*OrNode) String

func (n *OrNode) String() string

func (*OrNode) Walk

func (n *OrNode) 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 PipeNode

type PipeNode struct {
	Left  Node
	Right Node
}

func (*PipeNode) String

func (n *PipeNode) String() string

func (*PipeNode) Walk

func (n *PipeNode) 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

type ProjectArrayNode struct {
	Left  Node
	Right Node
}

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

type ProjectObjectNode struct {
	Left  Node
	Right Node
}

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 RootNode

type RootNode struct{}

func (RootNode) String

func (n RootNode) String() string

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

type SelectArrayNode struct {
	Child  Node
	Fields []Node
}

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 (*SelectArraySingleCurrentNode) Walk

type SelectArraySingleNode

type SelectArraySingleNode struct {
	Child Node
	Field Node
}

func (*SelectArraySingleNode) String

func (n *SelectArraySingleNode) String() string

func (*SelectArraySingleNode) Walk

func (n *SelectArraySingleNode) Walk(v Visitor)

type SelectObjectCurrentNode

type SelectObjectCurrentNode struct {
	Fields map[string]Node
}

func (*SelectObjectCurrentNode) String

func (n *SelectObjectCurrentNode) String() string

func (*SelectObjectCurrentNode) Walk

func (n *SelectObjectCurrentNode) Walk(v Visitor)

type SelectObjectNode

type SelectObjectNode struct {
	Child  Node
	Fields map[string]Node
}

func (*SelectObjectNode) String

func (n *SelectObjectNode) String() string

func (*SelectObjectNode) Walk

func (n *SelectObjectNode) Walk(v Visitor)

type SelectObjectSingleCurrentNode

type SelectObjectSingleCurrentNode struct {
	Key   string
	Field Node
}

func (*SelectObjectSingleCurrentNode) String

func (*SelectObjectSingleCurrentNode) Walk

type SelectObjectSingleNode

type SelectObjectSingleNode struct {
	Child Node
	Key   string
	Field Node
}

func (*SelectObjectSingleNode) String

func (n *SelectObjectSingleNode) String() string

func (*SelectObjectSingleNode) Walk

func (n *SelectObjectSingleNode) Walk(v Visitor)

type SliceCurrentNode

type SliceCurrentNode struct {
	Start int
	Stop  int
}

func (*SliceCurrentNode) String

func (n *SliceCurrentNode) String() string

type SliceNode

type SliceNode struct {
	Child Node
	Start int
	Stop  int
}

func (*SliceNode) String

func (n *SliceNode) String() string

func (*SliceNode) Walk

func (n *SliceNode) Walk(v Visitor)

type SliceStepCurrentNode

type SliceStepCurrentNode struct {
	Start int
	Stop  int
	Step  int
}

func (*SliceStepCurrentNode) String

func (n *SliceStepCurrentNode) String() string

type SliceStepNode

type SliceStepNode struct {
	Child Node
	Start int
	Stop  int
	Step  int
}

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 SortNode

type SortNode struct {
	Argument Node
}

func (*SortNode) String

func (n *SortNode) String() string

func (*SortNode) Walk

func (n *SortNode) 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 SplitNode

type SplitNode struct {
	Arguments [2]Node
}

func (*SplitNode) String

func (n *SplitNode) String() string

func (*SplitNode) Walk

func (n *SplitNode) 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

type SubtractNode struct {
	Left  Node
	Right Node
}

func (*SubtractNode) String

func (n *SubtractNode) String() string

func (*SubtractNode) Walk

func (n *SubtractNode) Walk(v Visitor)

type SumNode

type SumNode struct {
	Argument Node
}

func (*SumNode) String

func (n *SumNode) String() string

func (*SumNode) Walk

func (n *SumNode) 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 TrimNode

type TrimNode struct {
	Arguments [2]Node
}

func (*TrimNode) String

func (n *TrimNode) String() string

func (*TrimNode) Walk

func (n *TrimNode) 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 TypeNode

type TypeNode struct {
	Argument Node
}

func (*TypeNode) String

func (n *TypeNode) String() string

func (*TypeNode) Walk

func (n *TypeNode) Walk(v Visitor)

type UnknownFunctionError

type UnknownFunctionError struct {
	Function string
}

func (*UnknownFunctionError) Error

func (err *UnknownFunctionError) Error() string

type UpperNode

type UpperNode struct {
	Argument Node
}

func (*UpperNode) String

func (n *UpperNode) String() string

func (*UpperNode) Walk

func (n *UpperNode) Walk(v Visitor)

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

type Visitor

type Visitor interface {
	Visit(Node)
}

type Walker

type Walker interface {
	Walk(Visitor)
}

type ZipNode

type ZipNode struct {
	Arguments []Node
}

func (*ZipNode) String

func (n *ZipNode) String() string

func (*ZipNode) Walk

func (n *ZipNode) Walk(v Visitor)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL