Package org.armedbear.lisp
Class Function
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.Operator
org.armedbear.lisp.Function
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Autoload
,Closure
,DispatchMacroFunction
,MacroObject
,Primitive
,ReaderMacroFunction
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Primitive
final LispObject
The value of *load-truename* which was current when this function was loaded, used for fetching the class bytes in case of disassembly.Fields inherited from class org.armedbear.lisp.Operator
lambdaName
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Function()
Function
(LispObject name) Function
(LispObject name, LispObject lambdaList) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
classOf()
execute()
execute
(LispObject arg) execute
(LispObject[] args) execute
(LispObject first, LispObject second) execute
(LispObject first, LispObject second, LispObject third) execute
(LispObject first, LispObject second, LispObject third, LispObject fourth) execute
(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth) execute
(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth) execute
(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh) execute
(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth) final int
final LispObject
final int
final LispObject
final void
final void
void
setCallCount
(int n) final void
setClassBytes
(byte[] bytes) void
setHotCount
(int n) final void
protected boolean
typeOf()
typep
(LispObject typeSpecifier) 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, AREF, AREF, aref_long, 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, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, 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, setSlotValue, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, 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
-
Field Details
-
loadedFrom
The value of *load-truename* which was current when this function was loaded, used for fetching the class bytes in case of disassembly. -
FUNCTION_CLASS_BYTES
-
-
Constructor Details
-
Function
protected Function() -
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
Function
-
-
Method Details
-
typeOf
- Overrides:
typeOf
in classLispObject
-
classOf
- Overrides:
classOf
in classLispObject
-
typep
- Overrides:
typep
in classLispObject
-
getPropertyList
- Overrides:
getPropertyList
in classLispObject
-
setPropertyList
- Overrides:
setPropertyList
in classLispObject
-
setClassBytes
public final void setClassBytes(byte[] bytes) -
getClassBytes
-
execute
- Overrides:
execute
in classLispObject
-
execute
- Overrides:
execute
in classLispObject
-
execute
- Overrides:
execute
in classLispObject
-
execute
- Overrides:
execute
in classLispObject
-
execute
- Overrides:
execute
in classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth) - Overrides:
execute
in classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth) - Overrides:
execute
in classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh) - Overrides:
execute
in classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth) - Overrides:
execute
in classLispObject
-
execute
- Overrides:
execute
in classLispObject
-
printObject
- Overrides:
printObject
in classLispObject
-
argCountError
public final void argCountError() -
getCallCount
public final int getCallCount()- Overrides:
getCallCount
in classLispObject
-
setCallCount
public void setCallCount(int n) - Overrides:
setCallCount
in classLispObject
-
incrementCallCount
public final void incrementCallCount()- Overrides:
incrementCallCount
in classLispObject
-
getHotCount
public final int getHotCount()- Overrides:
getHotCount
in classLispObject
-
setHotCount
public void setHotCount(int n) - Overrides:
setHotCount
in classLispObject
-
incrementHotCount
public final void incrementHotCount()- Overrides:
incrementHotCount
in classLispObject
-
writeReplace
- Throws:
ObjectStreamException
-
shouldSerializeByName
protected boolean shouldSerializeByName()
-