Skip to main content

evaluation_with

Function evaluation_with 

Source
pub fn evaluation_with(
    site: &mut EvalSite<'_>,
    value: &Value,
    evaluate: &Evaluate,
    options: EvaluationOptions,
) -> Value
Expand description

evaluation with options: the port of the canonical evaluation(rule, ctx, expr, evaluate, { objects }).

The walk is iterative, terms before the operation that holds them, so a tree as deep as a long chain of operators (a+a+...+a) is reduced without the call stack growing with it.