Package net.hydromatic.morel.eval
Class Codes.TupleCode
- java.lang.Object
-
- net.hydromatic.morel.eval.Codes.TupleCode
-
- All Implemented Interfaces:
Code,Describable
- Enclosing class:
- Codes
public static class Codes.TupleCode extends Object implements Code
A code that evaluates expressions and creates a tuple with the results.An inner class so that we can pick apart the results of multiply defined functions:
fun f = ... and g = ....
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Describerdescribe(Describer describer)Objecteval(EvalEnv env)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.hydromatic.morel.eval.Code
isConstant
-
-
-
-
Constructor Detail
-
TupleCode
private TupleCode(com.google.common.collect.ImmutableList<Code> codes)
-
-