pub fn eval(node: Node, env: &Env) -> Result<Rc<Object>, EvaluationError>
Expand description
Evaluate a parsed Monkey AST node and return its corresponding object representation.
pub fn eval(node: Node, env: &Env) -> Result<Rc<Object>, EvaluationError>
Evaluate a parsed Monkey AST node and return its corresponding object representation.