Package org.armedbear.lisp
Class MacroObject
- java.lang.Object
-
- org.armedbear.lisp.LispObject
-
- org.armedbear.lisp.Operator
-
- org.armedbear.lisp.Function
-
- org.armedbear.lisp.MacroObject
-
- All Implemented Interfaces:
java.io.Serializable
public final class MacroObject extends Function
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.armedbear.lisp.Function
Function.ObjectInputStreamWithClassLoader, Function.pf_function_class_bytes, Function.SerializedLocalFunction, Function.SerializedNamedFunction
-
-
Field Summary
Fields Modifier and Type Field Description LispObject
expander
protected LispObject
name
-
Fields inherited from class org.armedbear.lisp.Function
FUNCTION_CLASS_BYTES, loadedFrom
-
Fields inherited from class org.armedbear.lisp.Operator
lambdaName
-
-
Constructor Summary
Constructors Constructor Description MacroObject(LispObject name, LispObject expander)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LispObject
execute()
LispObject
execute(LispObject arg)
LispObject
execute(LispObject[] args)
LispObject
execute(LispObject first, LispObject second)
LispObject
execute(LispObject first, LispObject second, LispObject third)
LispObject
execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
LispObject
execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
LispObject
execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
LispObject
execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
LispObject
execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
java.lang.String
printObject()
-
Methods inherited from class org.armedbear.lisp.Function
argCountError, classOf, getCallCount, getClassBytes, getHotCount, getPropertyList, incrementCallCount, incrementHotCount, setCallCount, setClassBytes, setHotCount, setPropertyList, shouldSerializeByName, typeOf, typep, writeReplace
-
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 Detail
-
name
protected final LispObject name
-
expander
public final LispObject expander
-
-
Constructor Detail
-
MacroObject
public MacroObject(LispObject name, LispObject expander)
-
-
Method Detail
-
execute
public LispObject execute()
-
execute
public LispObject execute(LispObject arg)
-
execute
public LispObject execute(LispObject first, LispObject second)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
-
execute
public LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
-
execute
public LispObject execute(LispObject[] args)
-
printObject
public java.lang.String printObject()
- Overrides:
printObject
in classFunction
-
-