Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperatorEquals = "==" OperatorNotEquals = "!=" OperatorGreater = ">" OperatorGreaterEquals = ">=" OperatorLess = "<" OperatorLessEquals = "<=" OperatorIn = "in" OperatorStartsWith = "startsWith" OperatorEndsWith = "endsWith" OperatorContains = "contains" )
Variables ¶
This section is empty.
Functions ¶
func StandardDeclarations ¶
StandardDeclarations returns a set of standard declarations to use within out parser
Types ¶
type Expr ¶
type Expr struct {
Root Node
}
Expr is the abstract representation of a previously filtered, parsed and checked expression.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is our expr parser
type ParserOpt ¶
type ParserOpt func(parser *Parser)
ParserOpt sets options such as validators.
func WithDeclarations ¶
WithDeclarations overrides default declarations
type PresentExpr ¶
type PresentExpr struct {
Field *Field
}
PresentExpr represents a presence expression node.
Click to show internal directories.
Click to hide internal directories.