private static void defineName( boolean isGlobal, Interpreter interpreter, Scope scope, String name, Expr value) { if (isGlobal) { interpreter.getGlobalScope().put(name, value); } else { scope.put(name, value); } }