gnu.expr
Class CompiledModule
java.lang.Object
gnu.expr.CompiledModule
public class CompiledModule
- extends java.lang.Object
Representation of an interactive module after parsing and compiling.
Also useful for loading a compiled class file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiledModule
public CompiledModule(ModuleExp mexp,
java.lang.Object cookie,
Language language)
make
public static CompiledModule make(java.lang.Class clas,
Language language)
evalModule
public void evalModule(Environment env,
CallContext ctx)
throws java.lang.Throwable
- Evaluate this compile, sending output to
ctx.consumer
.
- Throws:
java.lang.Throwable
evalModule
public void evalModule(Environment env,
OutPort out)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
evalToResultValue
public java.lang.Object evalToResultValue(Environment env,
CallContext ctx)
throws java.lang.Throwable
- Evaluate this compile, yielding a result value.
- Throws:
java.lang.Throwable