@override void visitReturnStmt(Stmt.Return stmt) { Object? value; if (stmt.value != null) { value = evaluate(stmt.value!); } throw ReturnException(value); }