Module jmespath::ast [] [src]

JMESPath abstract syntax tree (AST).

Inspecting the JMESPath AST can be useful for analyzing the way in which an expression was parsed and which features are utilized in an expression.

Ast can be accessed directly from a parsed jmespath::Expression using the as_ast() method. An Ast can be created by using the jmespath::parse() function which returns an Ast rather than an Expression.

use jmespath;

let ast = jmespath::parse("a || b && c").unwrap();

Structs

KeyValuePair

Represents a key value pair in a MultiHash.

Enums

Ast

A JMESPath expression abstract syntax tree.

Comparator

Comparators used in Comparison nodes.