public abstract class Function extends Operator implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Function.ObjectInputStreamWithClassLoader |
static class |
Function.pf_function_class_bytes |
static class |
Function.SerializedLocalFunction |
static class |
Function.SerializedNamedFunction |
| Modifier and Type | Field and Description |
|---|---|
static Primitive |
FUNCTION_CLASS_BYTES |
LispObject |
loadedFrom
The value of *load-truename* which was current when this function
was loaded, used for fetching the class bytes in case of disassembly.
|
lambdaName| Modifier | Constructor and Description |
|---|---|
protected |
Function() |
|
Function(LispObject name) |
|
Function(LispObject name,
LispObject lambdaList) |
|
Function(java.lang.String name) |
|
Function(java.lang.String name,
Package pkg) |
|
Function(java.lang.String name,
Package pkg,
boolean exported) |
|
Function(java.lang.String name,
Package pkg,
boolean exported,
java.lang.String arglist) |
|
Function(java.lang.String name,
Package pkg,
boolean exported,
java.lang.String arglist,
java.lang.String docstring) |
|
Function(java.lang.String name,
java.lang.String arglist) |
|
Function(Symbol symbol) |
|
Function(Symbol symbol,
java.lang.String arglist) |
|
Function(Symbol symbol,
java.lang.String arglist,
java.lang.String docstring) |
getLambdaList, getLambdaName, getParts, setLambdaList, setLambdaNameABS, 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, ZEROPpublic final LispObject loadedFrom
public static final Primitive FUNCTION_CLASS_BYTES
protected Function()
public Function(java.lang.String name)
public Function(java.lang.String name,
java.lang.String arglist)
public Function(Symbol symbol)
public Function(Symbol symbol, java.lang.String arglist)
public Function(Symbol symbol, java.lang.String arglist, java.lang.String docstring)
public Function(java.lang.String name,
Package pkg)
public Function(java.lang.String name,
Package pkg,
boolean exported)
public Function(java.lang.String name,
Package pkg,
boolean exported,
java.lang.String arglist)
public Function(java.lang.String name,
Package pkg,
boolean exported,
java.lang.String arglist,
java.lang.String docstring)
public Function(LispObject name)
public Function(LispObject name, LispObject lambdaList)
public LispObject typeOf()
typeOf in class LispObjectpublic LispObject classOf()
classOf in class LispObjectpublic LispObject typep(LispObject typeSpecifier)
typep in class LispObjectpublic final LispObject getPropertyList()
getPropertyList in class LispObjectpublic final void setPropertyList(LispObject obj)
setPropertyList in class LispObjectpublic final void setClassBytes(byte[] bytes)
public final LispObject getClassBytes()
public LispObject execute()
execute in class LispObjectpublic LispObject execute(LispObject arg)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
execute in class LispObjectpublic LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
execute in class LispObjectpublic LispObject execute(LispObject[] args)
execute in class LispObjectpublic java.lang.String printObject()
printObject in class LispObjectpublic final void argCountError()
public final int getCallCount()
getCallCount in class LispObjectpublic void setCallCount(int n)
setCallCount in class LispObjectpublic final void incrementCallCount()
incrementCallCount in class LispObjectpublic final int getHotCount()
getHotCount in class LispObjectpublic void setHotCount(int n)
setHotCount in class LispObjectpublic final void incrementHotCount()
incrementHotCount in class LispObjectpublic java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprotected boolean shouldSerializeByName()