jsint
Class Primitive

java.lang.Object
  |
  +--jsint.Procedure
        |
        +--jsint.Primitive
All Implemented Interfaces:
java.lang.Runnable, SchemeProcedure, java.io.Serializable

public class Primitive
extends Procedure

Primitive procedures (as defined in the R4RS Scheme report. NOTE: Primitive.java IS GENERATED FROM primitives.scm. EDIT AT YOUR OWN RISK.

See Also:
Serialized Form

Fields inherited from class jsint.Procedure
maxArgs, minArgs, name
 
Constructor Summary
Primitive(java.lang.String name, int opcode, int minArgs, int maxArgs)
          Constructor
 
Method Summary
 java.lang.Object apply(java.lang.Object[] args)
          Apply the primitive to a list of arguments.
 
Methods inherited from class jsint.Procedure
apply, apply, catching, getName, makeArgArray, makeArgArray, nParms, run, setName, synchronize, throwObject, throwRuntimeException, toString, toStringArgs, tryCatch, tryFinally
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Primitive

public Primitive(java.lang.String name,
                 int opcode,
                 int minArgs,
                 int maxArgs)
Constructor
Method Detail

apply

public java.lang.Object apply(java.lang.Object[] args)
Apply the primitive to a list of arguments.
Overrides:
apply in class Procedure