pub fn evaluate_with_env(
text: &str,
file: Option<&str>,
env: &mut Env,
) -> EvaluateResultExpand description
Variant of evaluate that runs against a caller-owned Env instead of
allocating a fresh one. Used by the REPL to preserve state across inputs.