org.armedbear.lisp
Class CompiledClosure

java.lang.Object
  extended by org.armedbear.lisp.LispObject
      extended by org.armedbear.lisp.Operator
          extended by org.armedbear.lisp.Function
              extended by org.armedbear.lisp.Closure
                  extended by org.armedbear.lisp.CompiledClosure
All Implemented Interfaces:
java.lang.Cloneable

public class CompiledClosure
extends Closure
implements java.lang.Cloneable


Nested Class Summary
 
Nested classes/interfaces inherited from class org.armedbear.lisp.Closure
Closure.Parameter
 
Nested classes/interfaces inherited from class org.armedbear.lisp.Function
Function.pf_function_class_bytes
 
Field Summary
 ClosureBinding[] ctx
           
 
Fields inherited from class org.armedbear.lisp.Closure
AUX, KEYWORD, OPTIONAL, REQUIRED, REST
 
Fields inherited from class org.armedbear.lisp.Function
FUNCTION_CLASS_BYTES
 
Fields inherited from class org.armedbear.lisp.Operator
lambdaName
 
Constructor Summary
CompiledClosure(Closure.Parameter[] required, Closure.Parameter[] optional, Closure.Parameter[] keyword, Symbol keys, Symbol rest, Symbol moreKeys)
           
CompiledClosure(LispObject lambdaList)
           
 
Method Summary
 CompiledClosure dup()
           
 LispObject execute()
           
 LispObject execute(LispObject first)
           
 LispObject execute(LispObject[] args)
           
 LispObject execute(LispObject first, LispObject second)
           
 LispObject execute(LispObject first, LispObject second, LispObject third)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
           
 CompiledClosure setContext(ClosureBinding[] context)
           
 LispObject typep(LispObject typeSpecifier)
           
 
Methods inherited from class org.armedbear.lisp.Closure
fastProcessArgs, getBody, getEnvironment, getVariableList, invokeArrayExecute, processArgs
 
Methods inherited from class org.armedbear.lisp.Function
argCountError, classOf, getCallCount, getClassBytes, getHotCount, getPropertyList, incrementCallCount, incrementHotCount, printObject, setCallCount, setClassBytes, setHotCount, setPropertyList, typeOf
 
Methods inherited from class org.armedbear.lisp.Operator
getLambdaList, getLambdaName, getParts, setLambdaList, setLambdaName
 
Methods inherited from class org.armedbear.lisp.LispObject
ABS, add, add, aref_long, aref, AREF, AREF, aset, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, elt, endp, ENDP, EQ, eql, eql, eql, EQL, equal, equal, EQUAL, equalp, equalp, evenp, EVENP, execute, floatp, FLOATP, floatValue, getBooleanValue, getDescription, getDocumentation, getFixnumSlotValue, getInstance, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, integerp, INTEGERP, intValue, IS_E, IS_GE, IS_GT, IS_LE, IS_LT, IS_NE, isEqualTo, isEqualTo, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isSpecialOperator, isSpecialVariable, javaInstance, javaInstance, LDB, length, LENGTH, listp, LISTP, lockableInstance, LOGAND, LOGAND, LOGIOR, LOGIOR, LOGNOT, LOGXOR, LOGXOR, longValue, minusp, MINUSP, MOD, MOD, multiplyBy, multiplyBy, negate, noFillPointer, NOT, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, princToString, psxhash, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCar, setCdr, setDocumentation, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, setSlotValue, SIMPLE_STRING_P, SLOT_VALUE, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctx

public ClosureBinding[] ctx
Constructor Detail

CompiledClosure

public CompiledClosure(Closure.Parameter[] required,
                       Closure.Parameter[] optional,
                       Closure.Parameter[] keyword,
                       Symbol keys,
                       Symbol rest,
                       Symbol moreKeys)

CompiledClosure

public CompiledClosure(LispObject lambdaList)
Method Detail

setContext

public final CompiledClosure setContext(ClosureBinding[] context)

dup

public final CompiledClosure dup()

typep

public LispObject typep(LispObject typeSpecifier)
Overrides:
typep in class Closure

execute

public LispObject execute()
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh,
                          LispObject eighth)
Overrides:
execute in class Closure

execute

public LispObject execute(LispObject[] args)
Overrides:
execute in class Closure