kawa.lang
Class Eval
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure1or2
kawa.lang.Eval
- All Implemented Interfaces:
- Named
public class Eval
- extends Procedure1or2
Constructor Summary |
Eval()
|
Methods inherited from class gnu.mapping.Procedure |
apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
eval
public static final Eval eval
Eval
public Eval()
eval
public static void eval(java.lang.Object sexpr,
Environment env,
CallContext ctx)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
evalBody
public static java.lang.Object evalBody(java.lang.Object body,
Environment env,
SourceMessages messages)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
eval
public static java.lang.Object eval(java.lang.Object sexpr,
Environment env)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
evalBody
public static void evalBody(java.lang.Object body,
Environment env,
SourceMessages messages,
CallContext ctx)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
apply1
public java.lang.Object apply1(java.lang.Object arg1)
throws java.lang.Throwable
- Specified by:
apply1
in class Procedure1or2
- Throws:
java.lang.Throwable
apply2
public java.lang.Object apply2(java.lang.Object arg1,
java.lang.Object arg2)
throws java.lang.Throwable
- Specified by:
apply2
in class Procedure1or2
- Throws:
java.lang.Throwable
apply
public void apply(CallContext ctx)
throws java.lang.Throwable
- Description copied from class:
Procedure
- Call this Procedure using the explicit-CallContext-convention.
The input arguments are (by default) in stack.args;
the result is written to ctx.consumer.
- Overrides:
apply
in class Procedure
- Throws:
java.lang.Throwable