public void Interpret(List <AstNode> statements) { try { foreach (var stmt in statements) { Execute(stmt); } } catch (LoxRuntimeException ex) { Lox.RuntimeError(ex); } }
internal void Interpret(List <Stmt> statements) { try { foreach (Stmt statement in statements) { Execute(statement); } } catch (RuntimeError error) { Lox.RuntimeError(error); } }