Package net.hydromatic.morel.compile
Class Compiler.LinkCode
- java.lang.Object
-
- net.hydromatic.morel.compile.Compiler.LinkCode
-
- All Implemented Interfaces:
Code,Describable
- Enclosing class:
- Compiler
private static class Compiler.LinkCode extends Object implements Code
A piece of code that is references another piece of code. It is useful when defining recursive functions. The reference is mutable, and is fixed up when the function has been compiled.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLinkCode()
-
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
-
-