Uses of Interface
net.hydromatic.morel.eval.EvalEnv
-
Packages that use EvalEnv Package Description net.hydromatic.morel.compile Validates programs (represented asAstNode), deduces their type, and compiles them into code that can be evaluated.net.hydromatic.morel.eval Evaluates expressions. -
-
Uses of EvalEnv in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile declared as EvalEnv Modifier and Type Field Description private static EvalEnvCompiler. EMPTY_ENVMethods in net.hydromatic.morel.compile with parameters of type EvalEnv Modifier and Type Method Description voidCompiler.Action. apply(java.util.List<java.lang.String> output, java.util.List<Binding> bindings, EvalEnv evalEnv)java.lang.ObjectCompiler.LinkCode. eval(EvalEnv env) -
Uses of EvalEnv in net.hydromatic.morel.eval
Subinterfaces of EvalEnv in net.hydromatic.morel.eval Modifier and Type Interface Description interfaceMutableEvalEnvAn evaluation environment whose last entry is mutable.Classes in net.hydromatic.morel.eval that implement EvalEnv Modifier and Type Class Description (package private) static classEvalEnvs.MapEvalEnvEvaluation environment that reads from a map.(package private) static classEvalEnvs.MutableSubEvalEnvSimilar toEvalEnvs.SubEvalEnvbut mutable.(package private) static classEvalEnvs.SubEvalEnvEvaluation environment that inherits from a parent environment and adds one binding.Fields in net.hydromatic.morel.eval declared as EvalEnv Modifier and Type Field Description private EvalEnvClosure. evalEnvEnvironment for evaluation.private EvalEnvEvalEnvs.SubEvalEnv. parentEnvMethods in net.hydromatic.morel.eval that return EvalEnv Modifier and Type Method Description (package private) EvalEnvClosure. bind(java.lang.Object argValue)Binds an argument value to create a new environment for a closure.default EvalEnvEvalEnv. bind(java.lang.String name, java.lang.Object value)Creates an environment that has the same content as this one, plus the binding (name, value).static EvalEnvEvalEnvs. copyOf(java.util.Map<java.lang.String,java.lang.Object> valueMap)Creates an evaluation environment with the given (name, value) map.static EvalEnvCodes. emptyEnv()Creates an empty evaluation environment.static EvalEnvCodes. emptyEnvWith(Environment env)Creates an evaluation environment that contains the bound values from a compilation environment.(package private) EvalEnvClosure. evalBind(EvalEnv env)Similar toClosure.bind(java.lang.Object), but evaluates an expression first.Methods in net.hydromatic.morel.eval with parameters of type EvalEnv Modifier and Type Method Description java.lang.ObjectApplicable. apply(EvalEnv env, java.lang.Object argValue)java.lang.ObjectClosure. apply(EvalEnv env, java.lang.Object argValue)private booleanClosure. bindRecurse(Ast.Pat pat, EvalEnv[] envRef, java.lang.Object argValue)java.lang.ObjectCode. eval(EvalEnv env)java.lang.ObjectCodes.TupleCode. eval(EvalEnv env)(package private) EvalEnvClosure. evalBind(EvalEnv env)Similar toClosure.bind(java.lang.Object), but evaluates an expression first.Constructors in net.hydromatic.morel.eval with parameters of type EvalEnv Constructor Description Closure(EvalEnv evalEnv, com.google.common.collect.ImmutableList<Pair<Ast.Pat,Code>> patCodes)Not a public API.MutableSubEvalEnv(EvalEnv parentEnv, java.lang.String name)SubEvalEnv(EvalEnv parentEnv, java.lang.String name, java.lang.Object value)
-