Struct jmespath::Context
[−]
[src]
pub struct Context<'a> { pub expression: &'a str, pub runtime: &'a Runtime, pub offset: usize, }
Context object used for error reporting.
The Context struct is mostly used when interacting between the interpreter and function implemenations. Unless you're writing custom JMESPath functions, this struct is an implementation detail.
Fields
expression: &'a str
Expression string that is being interpreted.
runtime: &'a Runtime
JMESPath runtime used to compile the expression and call functions.
offset: usize
Ast offset that is currently being evaluated.