[][src]Module jmespatch::ast

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 jmespatch::Expression using the as_ast() method. An Ast can be created by using the jmespatch::parse() function which returns an Ast rather than an Expression.

use jmespatch;

let ast = jmespatch::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.