Struct jrsonnet_evaluator::EvaluationState [−][src]
pub struct EvaluationState(_);
Expand description
Maintains stack trace and import resolution
Implementations
Parses and adds file as loaded
Adds file by source code and parsed expr
Adds standard library global variable (std) to this evaluator
Creates context with all passed global variables
Executes code creating a new stack frame
Runs passed function in state (required if function needs to modify stack trace)
Internals
Raw methods evaluate passed values but don’t perform TLA execution
Parses and evaluates the given snippet
Evaluates the parsed expression
Settings utilities
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for EvaluationState
impl !Send for EvaluationState
impl !Sync for EvaluationState
impl Unpin for EvaluationState
impl !UnwindSafe for EvaluationState
Blanket Implementations
Mutably borrows from an owned value. Read more