Class Primitive

  extended byjsint.Procedure
      extended byjsint.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

Field Summary
Fields inherited from class jsint.Procedure
maxArgs, minArgs, name
Constructor Summary
Primitive(java.lang.String name, int opcode, int minArgs, int maxArgs)
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, stripExceptionWrapper, 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


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

Method Detail


public java.lang.Object apply(java.lang.Object[] args)
Apply the primitive to a list of arguments.

Specified by:
apply in interface SchemeProcedure
Specified by:
apply in class Procedure