Package org.armedbear.lisp
Class Primitive
- java.lang.Object
-
- org.armedbear.lisp.LispObject
-
- org.armedbear.lisp.Operator
-
- org.armedbear.lisp.Function
-
- org.armedbear.lisp.Primitive
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
adjust_array,ash,assq,assql,ceiling,cell_error_name,CompiledPrimitive,copy_list,create_new_file,delete_file,disassemble_class_bytes,file_author,file_length,file_string_length,file_write_date,float_sign,floor,ftruncate,Function.pf_function_class_bytes,gc,get_properties,input_stream_p,interactive_stream_p,jclass_name,jclass_of,jmethod_return_type,last,lisp_implementation_type,lisp_implementation_version,listen,logand,logandc1,logandc2,logbitp,logcount,logeqv,logior,lognand,lognor,lognot,logorc1,logorc2,logtest,logxor,machine_type,machine_version,make_array,make_condition,make_server_socket,make_socket,mod,open_stream_p,output_stream_p,peek_char,rem,room,server_socket_close,simple_list_remove_duplicates,socket_accept,socket_close,socket_stream,software_type,software_version,stream_element_type,truncate,unbound_slot_instance,unzip,zip
public class Primitive 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 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 Primitive(java.lang.String name)Primitive(java.lang.String name, java.lang.String arglist)Primitive(java.lang.String name, Package pkg)Primitive(java.lang.String name, Package pkg, boolean exported)Primitive(java.lang.String name, Package pkg, boolean exported, java.lang.String arglist)Primitive(java.lang.String name, Package pkg, boolean exported, java.lang.String arglist, java.lang.String docstring)Primitive(LispObject name)Primitive(LispObject name, LispObject lambdaList)Primitive(Symbol symbol)Primitive(Symbol symbol, java.lang.String arglist)Primitive(Symbol symbol, java.lang.String arglist, java.lang.String docstring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LispObjectexecute()LispObjectexecute(LispObject arg)LispObjectexecute(LispObject first, LispObject second)LispObjectexecute(LispObject first, LispObject second, LispObject third)LispObjectexecute(LispObject first, LispObject second, LispObject third, LispObject fourth)LispObjectexecute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)LispObjectexecute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)LispObjectexecute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)LispObjectexecute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)LispObjecttypeOf()-
Methods inherited from class org.armedbear.lisp.Function
argCountError, classOf, execute, getCallCount, getClassBytes, getHotCount, getPropertyList, incrementCallCount, incrementHotCount, printObject, setCallCount, setClassBytes, setHotCount, setPropertyList, shouldSerializeByName, 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
-
-
-
-
Constructor Detail
-
Primitive
public Primitive(LispObject name)
-
Primitive
public Primitive(java.lang.String name)
-
Primitive
public Primitive(Symbol symbol)
-
Primitive
public Primitive(Symbol symbol, java.lang.String arglist)
-
Primitive
public Primitive(Symbol symbol, java.lang.String arglist, java.lang.String docstring)
-
Primitive
public Primitive(java.lang.String name, java.lang.String arglist)
-
Primitive
public Primitive(LispObject name, LispObject lambdaList)
-
Primitive
public Primitive(java.lang.String name, Package pkg)
-
Primitive
public Primitive(java.lang.String name, Package pkg, boolean exported)
-
Primitive
public Primitive(java.lang.String name, Package pkg, boolean exported, java.lang.String arglist)
-
Primitive
public Primitive(java.lang.String name, Package pkg, boolean exported, java.lang.String arglist, java.lang.String docstring)
-
-
Method Detail
-
typeOf
public LispObject typeOf()
-
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)
-
-