public abstract class Function extends Operator
Modifier and Type | Class and Description |
---|---|
static class |
Function.pf_function_class_bytes |
Modifier and Type | Field and Description |
---|---|
private int |
callCount |
static Primitive |
FUNCTION_CLASS_BYTES |
private int |
hotCount |
private LispObject |
loadedFrom
The value of *load-truename* which was current when this function
was loaded, used for fetching the class bytes in case of disassebly.
|
private LispObject |
propertyList |
lambdaName
Modifier | Constructor and Description |
---|---|
protected |
Function() |
|
Function(LispObject name) |
|
Function(LispObject name,
LispObject lambdaList) |
|
Function(String name) |
|
Function(String name,
Package pkg) |
|
Function(String name,
Package pkg,
boolean exported) |
|
Function(String name,
Package pkg,
boolean exported,
String arglist) |
|
Function(String name,
Package pkg,
boolean exported,
String arglist,
String docstring) |
|
Function(String name,
String arglist) |
|
Function(Symbol symbol) |
|
Function(Symbol symbol,
String arglist) |
|
Function(Symbol symbol,
String arglist,
String docstring) |
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, 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, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
private LispObject propertyList
private int callCount
private int hotCount
private final LispObject loadedFrom
public static final Primitive FUNCTION_CLASS_BYTES
protected Function()
public Function(String name)
public Function(Symbol symbol)
public Function(String name, Package pkg, boolean exported, String arglist, String docstring)
public Function(LispObject name)
public Function(LispObject name, LispObject lambdaList)
public LispObject typeOf()
typeOf
in class LispObject
public LispObject classOf()
classOf
in class LispObject
public LispObject typep(LispObject typeSpecifier)
typep
in class LispObject
public final LispObject getPropertyList()
getPropertyList
in class LispObject
public final void setPropertyList(LispObject obj)
setPropertyList
in class LispObject
public final void setClassBytes(byte[] bytes)
public final LispObject getClassBytes()
public LispObject execute()
execute
in class LispObject
public LispObject execute(LispObject arg)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
execute
in class LispObject
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
execute
in class LispObject
public LispObject execute(LispObject[] args)
execute
in class LispObject
public String writeToString()
writeToString
in class LispObject
public final void argCountError()
public final int getCallCount()
getCallCount
in class LispObject
public void setCallCount(int n)
setCallCount
in class LispObject
public final void incrementCallCount()
incrementCallCount
in class LispObject
public final int getHotCount()
getHotCount
in class LispObject
public void setHotCount(int n)
setHotCount
in class LispObject
public final void incrementHotCount()
incrementHotCount
in class LispObject