public class Closure extends Function
Function.pf_function_class_bytes
Modifier and Type | Field and Description |
---|---|
static int |
AUX |
static int |
KEYWORD |
static int |
OPTIONAL |
static int |
REQUIRED |
static int |
REST |
FUNCTION_CLASS_BYTES
lambdaName
Constructor and Description |
---|
Closure(ArgumentListProcessor arglist)
Construct a closure object with a lambda-list described
by these parameters.
|
Closure(LispObject lambdaExpression,
Environment env) |
Closure(LispObject name,
LispObject lambdaExpression,
Environment env) |
argCountError, classOf, getCallCount, getClassBytes, getHotCount, getPropertyList, incrementCallCount, incrementHotCount, printObject, setCallCount, setClassBytes, setHotCount, setPropertyList, typeOf
getLambdaList, getLambdaName, getParts, setLambdaList, setLambdaName
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
public static final int REQUIRED
public static final int OPTIONAL
public static final int KEYWORD
public static final int REST
public static final int AUX
public Closure(ArgumentListProcessor arglist)
required
- Required parameters or an empty array for noneoptional
- Optional parameters or an empty array for nonekeyword
- Keyword parameters or an empty array for nonekeys
- NIL if the lambda-list doesn't contain &key, T otherwiserest
- the &rest parameter, or NIL if nonemoreKeys
- NIL if &allow-other-keys not present, T otherwisepublic Closure(LispObject lambdaExpression, Environment env)
public Closure(LispObject name, LispObject lambdaExpression, Environment env)
public LispObject typep(LispObject typeSpecifier)
public final LispObject getVariableList()
public final LispObject getBody()
public final Environment getEnvironment()
public LispObject execute()
public LispObject execute(LispObject arg)
public LispObject execute(LispObject first, LispObject second)
public LispObject execute(LispObject first, LispObject second, LispObject third)
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
public LispObject execute(LispObject[] args)
protected final LispObject[] processArgs(LispObject[] args, LispThread thread)