Versions in this module Expand all Collapse all v1 v1.5.4 May 11, 2021 Changes in this version + type ArrayNode struct + Items []Node + func (n ArrayNode) String() string + type AssignmentNode struct + Name string + Value Node + func (n AssignmentNode) String() string + type BlockNode struct + Exprs []Node + func (n BlockNode) String() string + type BooleanNode struct + Value bool + func (n BooleanNode) String() string + type BooleanOperator uint8 + const BooleanAnd + const BooleanOr + func (op BooleanOperator) String() string + type BooleanOperatorNode struct + LHS Node + RHS Node + Type BooleanOperator + func (n BooleanOperatorNode) String() string + type ComparisonOperator uint8 + const ComparisonEqual + const ComparisonGreater + const ComparisonGreaterEqual + const ComparisonIn + const ComparisonLess + const ComparisonLessEqual + const ComparisonNotEqual + func (op ComparisonOperator) String() string + type ComparisonOperatorNode struct + LHS Node + RHS Node + Type ComparisonOperator + func (n ComparisonOperatorNode) String() string + type ConditionalNode struct + Else Node + If Node + Then Node + func (n ConditionalNode) String() string + type DescendentNode struct + func (DescendentNode) String() string + type ErrType uint + const ErrDuplicateParam + const ErrEmptyRegex + const ErrGroupGroup + const ErrGroupPredicate + const ErrIllegalAssignment + const ErrIllegalEscape + const ErrIllegalEscapeHex + const ErrIllegalParam + const ErrInfix + const ErrInvalidNumber + const ErrInvalidParamType + const ErrInvalidRegex + const ErrInvalidSubtype + const ErrInvalidUnionType + const ErrMissingToken + const ErrNumberRange + const ErrParamCount + const ErrPathLiteral + const ErrPrefix + const ErrSyntaxError + const ErrUnexpectedEOF + const ErrUnexpectedToken + const ErrUnmatchedOption + const ErrUnmatchedSubtype + const ErrUnterminatedName + const ErrUnterminatedRegex + const ErrUnterminatedString + type Error struct + Hint string + Position int + Token string + Type ErrType + func (e Error) Error() string + type FunctionApplicationNode struct + LHS Node + RHS Node + func (n FunctionApplicationNode) String() string + type FunctionCallNode struct + Args []Node + Func Node + func (n FunctionCallNode) String() string + type GroupNode struct + Expr Node + func (n GroupNode) String() string + type LambdaNode struct + Body Node + ParamNames []string + func (n LambdaNode) Shorthand() bool + func (n LambdaNode) String() string + type NameNode struct + Value string + func (n NameNode) Escaped() bool + func (n NameNode) String() string + type NegationNode struct + RHS Node + func (n NegationNode) String() string + type Node interface + String func() string + func Parse(expr string) (root Node, err error) + type NullNode struct + func (NullNode) String() string + type NumberNode struct + Value float64 + func (n NumberNode) String() string + type NumericOperator uint8 + const NumericAdd + const NumericDivide + const NumericModulo + const NumericMultiply + const NumericSubtract + func (op NumericOperator) String() string + type NumericOperatorNode struct + LHS Node + RHS Node + Type NumericOperator + func (n NumericOperatorNode) String() string + type ObjectNode struct + Pairs [][2]Node + func (n ObjectNode) String() string + type ObjectTransformationNode struct + Deletes Node + Pattern Node + Updates Node + func (n ObjectTransformationNode) String() string + type Param struct + Option ParamOpt + SubParams []Param + Type ParamType + func (p Param) String() string + type ParamOpt uint8 + const ParamContextable + const ParamOptional + const ParamVariadic + func (opt ParamOpt) String() string + type ParamType uint + const ParamTypeAny + const ParamTypeArray + const ParamTypeBool + const ParamTypeFunc + const ParamTypeJSON + const ParamTypeNull + const ParamTypeNumber + const ParamTypeObject + const ParamTypeString + func (typ ParamType) String() string + type PartialNode struct + Args []Node + Func Node + func (n PartialNode) String() string + type PathNode struct + KeepArrays bool + Steps []Node + func (n PathNode) String() string + type PlaceholderNode struct + func (PlaceholderNode) String() string + type PredicateNode struct + Expr Node + Filters []Node + func (n PredicateNode) String() string + type RangeNode struct + LHS Node + RHS Node + func (n RangeNode) String() string + type RegexNode struct + Value *regexp.Regexp + func (n RegexNode) String() string + type SortDir uint8 + const SortAscending + const SortDefault + const SortDescending + type SortNode struct + Expr Node + Terms []SortTerm + func (n SortNode) String() string + type SortTerm struct + Dir SortDir + Expr Node + type StringConcatenationNode struct + LHS Node + RHS Node + func (n StringConcatenationNode) String() string + type StringNode struct + Value string + func (n StringNode) String() string + type TypedLambdaNode struct + In []Param + Out []Param + func (n TypedLambdaNode) String() string + type VariableNode struct + Name string + func (n VariableNode) String() string + type WildcardNode struct + func (WildcardNode) String() string