kawa.lang
Class Eval

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.Procedure1or2
              extended by kawa.lang.Eval
All Implemented Interfaces:
Named

public class Eval
extends Procedure1or2


Field Summary
static Eval eval
           
 
Constructor Summary
Eval()
           
 
Method Summary
 void apply(CallContext ctx)
          Call this Procedure using the explicit-CallContext-convention.
 java.lang.Object apply1(java.lang.Object arg1)
           
 java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2)
           
static java.lang.Object eval(java.lang.Object sexpr, Environment env)
           
static void eval(java.lang.Object sexpr, Environment env, CallContext ctx)
           
static java.lang.Object evalBody(java.lang.Object body, Environment env, SourceMessages messages)
           
static void evalBody(java.lang.Object body, Environment env, SourceMessages messages, CallContext ctx)
           
 
Methods inherited from class gnu.mapping.Procedure1or2
apply0, apply3, apply4, applyN, numArgs
 
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 gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eval

public static final Eval eval
Constructor Detail

Eval

public Eval()
Method Detail

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