Skip to main content

eval

Function eval 

Source
pub fn eval<D>(
    node: &Node,
    ctx: Value,
    dispatcher: &D,
) -> Result<Value, EvalError>
where D: Dispatcher,
Expand description

Evaluate a Node against a context value, using the given dispatcher for Step resolution.

Returns the updated context (= ctx with Step.out path written for each step traversed).