Skip to main content

eval_expr

Function eval_expr 

Source
pub fn eval_expr(expr: &Expr, scope: &mut Scope) -> EvalResult<Value>
Expand description

Convenience function to evaluate an expression with a scope.

Uses NoOpExecutor, so command substitution will fail.