Package net.hydromatic.morel.eval
Class EvalEnvs.ListSubEvalEnv
java.lang.Object
net.hydromatic.morel.eval.EvalEnvs.ListSubEvalEnv
- All Implemented Interfaces:
EvalEnv
- Direct Known Subclasses:
EvalEnvs.MutableListSubEvalEnv
- Enclosing class:
EvalEnvs
Similar to
MutableEvalEnv but binds several names.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListSubEvalEnv(EvalEnv parentEnv, com.google.common.collect.ImmutableList<String> names, @Nullable List<?> values) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.hydromatic.morel.eval.EvalEnv
bind, bindMutable, bindMutableArray, bindMutableList, bindMutablePat, fix, valueMap
-
Field Details
-
parentEnv
-
names
-
values
-
-
Constructor Details
-
ListSubEvalEnv
-
-
Method Details
-
visit
Description copied from interface:EvalEnvVisits every variable binding in this environment.Bindings that are obscured by more recent bindings of the same name are visited, but after the more obscuring bindings.
-
getOpt
Description copied from interface:EvalEnvReturns the binding ofnameif bound, null if not.
-