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 classstatic final classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Primitivefinal LispObjectThe 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 Operator
lambdaName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFunction()Function(LispObject name) Function(LispObject name, LispObject lambdaList) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclassOf()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 intfinal LispObjectfinal intfinal LispObjectfinal voidfinal voidvoidsetCallCount(int n) final voidsetClassBytes(byte[] bytes) voidsetHotCount(int n) final voidprotected booleantypeOf()typep(LispObject typeSpecifier) Methods inherited from class Operator
getLambdaList, getLambdaName, getParts, setLambdaList, setLambdaNameMethods inherited from class 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:
typeOfin classLispObject
-
classOf
- Overrides:
classOfin classLispObject
-
typep
- Overrides:
typepin classLispObject
-
getPropertyList
- Overrides:
getPropertyListin classLispObject
-
setPropertyList
- Overrides:
setPropertyListin classLispObject
-
setClassBytes
public final void setClassBytes(byte[] bytes) -
getClassBytes
-
execute
- Overrides:
executein classLispObject
-
execute
- Overrides:
executein classLispObject
-
execute
- Overrides:
executein classLispObject
-
execute
- Overrides:
executein classLispObject
-
execute
- Overrides:
executein classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth) - Overrides:
executein classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth) - Overrides:
executein classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh) - Overrides:
executein classLispObject
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth) - Overrides:
executein classLispObject
-
execute
- Overrides:
executein classLispObject
-
printObject
- Overrides:
printObjectin classLispObject
-
argCountError
public final void argCountError() -
getCallCount
public final int getCallCount()- Overrides:
getCallCountin classLispObject
-
setCallCount
public void setCallCount(int n) - Overrides:
setCallCountin classLispObject
-
incrementCallCount
public final void incrementCallCount()- Overrides:
incrementCallCountin classLispObject
-
getHotCount
public final int getHotCount()- Overrides:
getHotCountin classLispObject
-
setHotCount
public void setHotCount(int n) - Overrides:
setHotCountin classLispObject
-
incrementHotCount
public final void incrementHotCount()- Overrides:
incrementHotCountin classLispObject
-
writeReplace
- Throws:
ObjectStreamException
-
shouldSerializeByName
protected boolean shouldSerializeByName()
-