public class CompiledModule
extends java.lang.Object
Constructor and Description |
---|
CompiledModule(ModuleExp mexp,
java.lang.Object cookie,
Language language) |
Modifier and Type | Method and Description |
---|---|
void |
evalModule(Environment env,
CallContext ctx)
Evaluate this compile, sending output to
ctx.consumer . |
void |
evalModule(Environment env,
gnu.kawa.io.OutPort out) |
java.lang.Object |
evalToResultValue(Environment env,
CallContext ctx)
Evaluate this compile, yielding a result value.
|
static CompiledModule |
make(java.lang.Class clas,
Language language) |
public static CompiledModule make(java.lang.Class clas, Language language)
public void evalModule(Environment env, CallContext ctx) throws java.lang.Throwable
ctx.consumer
.java.lang.Throwable
public void evalModule(Environment env, gnu.kawa.io.OutPort out) throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object evalToResultValue(Environment env, CallContext ctx) throws java.lang.Throwable
java.lang.Throwable