org.armedbear.lisp
Class Primitive

java.lang.Object
  extended by org.armedbear.lisp.LispObject
      extended by org.armedbear.lisp.Operator
          extended by org.armedbear.lisp.Function
              extended by org.armedbear.lisp.Primitive
Direct Known Subclasses:
adjust_array, ash, assq, assql, ceiling, cell_error_name, copy_list, create_new_file, delete_file, disassemble_class_bytes, file_author, file_error_pathname, 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, package_error_package, peek_char, rem, room, server_socket_close, simple_list_remove_duplicates, socket_accept, socket_close, socket_stream, software_type, software_version, stream_element_type, stream_external_format, truncate, unbound_slot_instance, unzip, zip

public class Primitive
extends Function


Nested Class Summary
 
Nested classes/interfaces inherited from class org.armedbear.lisp.Function
Function.pf_function_class_bytes
 
Field Summary
 
Fields inherited from class org.armedbear.lisp.Function
FUNCTION_CLASS_BYTES
 
Fields inherited from class org.armedbear.lisp.Operator
lambdaName
 
Constructor Summary
Primitive(LispObject name)
           
Primitive(LispObject name, LispObject lambdaList)
           
Primitive(java.lang.String name)
           
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(java.lang.String name, java.lang.String arglist)
           
Primitive(Symbol symbol, java.lang.String arglist)
           
Primitive(Symbol symbol, java.lang.String arglist, java.lang.String docstring)
           
 
Method Summary
 LispObject execute()
           
 LispObject execute(LispObject arg)
           
 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)
           
 LispObject typeOf()
           
 
Methods inherited from class org.armedbear.lisp.Function
argCountError, classOf, execute, getCallCount, getClassBytes, getHotCount, getPropertyList, incrementCallCount, incrementHotCount, setCallCount, setClassBytes, setHotCount, setPropertyList, typep, writeToString
 
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_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, 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, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Primitive

public Primitive(LispObject name)

Primitive

public Primitive(java.lang.String name)

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()
Overrides:
typeOf in class Function

execute

public LispObject execute()
Overrides:
execute in class Function

execute

public LispObject execute(LispObject arg)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh)
Overrides:
execute in class Function

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh,
                          LispObject eighth)
Overrides:
execute in class Function