modulepackage
0.0.0-20160803190731-bd40a432e4c7
Repository: https://github.com/andibrunner/go-jmespath.git
Documentation: pkg.go.dev
# Functions
Compile parses a JMESPath expression and returns, if successful, a JMESPath object that can be used to match against data.
MustCompile is like Compile but panics if the expression cannot be parsed.
NewLexer creates a new JMESPath lexer.
NewParser creates a new JMESPath parser.
Search evaluates a JMESPath expression against input data and returns the result.
# Constants
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
go:generate stringer -type astNodeType.
# Structs
ASTNode represents the abstract syntax tree of a JMESPath expression.
JmesPath is the epresentation of a compiled JMES path query.
Lexer contains information about the expression being tokenized.
Parser holds state about the current expression being parsed.
SyntaxError is the main error used whenever a lexing or parsing error occurs.