pub fn eval_with_resolver(
expr: &Expr,
env: &Env,
config: &EvalConfig,
resolver: &dyn BuiltinResolver,
) -> Result<Literal, ExprError>Expand description
Evaluate an expression, routing the builtins resolver claims through it.
The resolver is consulted wherever a builtin is applied, at any depth, so a context-dependent builtin behaves the same nested as it does at the root.
ยงErrors
Returns ExprError on type mismatches, unbound variables,
step/depth limit exceeded, or runtime errors, including any the resolver
itself reports.