org.armedbear.lisp
Class LispThread
java.lang.Object
org.armedbear.lisp.Lisp
org.armedbear.lisp.LispObject
org.armedbear.lisp.LispThread
public final class LispThread
- extends LispObject
Fields inherited from class org.armedbear.lisp.Lisp |
_AUTOLOAD_VERBOSE_, _BACKQUOTE_COUNT_, _BATCH_MODE_, _BQ_VECTOR_FLAG_, _CL_PACKAGE_, _COMPILE_FILE_ENVIRONMENT_, _COMPILE_FILE_TYPE_, _COMPILE_FILE_ZIP_, _CURRENT_PRINT_LENGTH_, _CURRENT_PRINT_LEVEL_, _DEBUG_, _DISASSEMBLER_, _ENABLE_INLINE_EXPANSION_, _EXPLAIN_, _KEYWORD_PACKAGE_, _LOAD_DEPTH_, _LOAD_STREAM_, _NOINFORM_, _PRINT_FASL_, _PRINT_STRUCTURE_, _REQUIRE_STACK_FRAME_, _SAFETY_, _SAVED_BACKTRACE_, _SLOT_UNBOUND_, _SOURCE_, _SOURCE_POSITION_, _SPACE_, _SPEED_, _TRACED_NAMES_, _WARN_ON_REDEFINITION_, ARRAY_DIMENSION_MAX, CALL_REGISTERS_LIMIT, CALL_REGISTERS_MAX, CHAR_MAX, cold, COMPILE_FILE_TYPE, debug, EOF, FUNCTION_NAME, initialized, interrupted, NIL, NULL_VALUE, PACKAGE_CL, PACKAGE_CL_USER, PACKAGE_EXT, PACKAGE_JAVA, PACKAGE_JVM, PACKAGE_KEYWORD, PACKAGE_LOOP, PACKAGE_MOP, PACKAGE_PROF, PACKAGE_SYS, PACKAGE_TPL, profiling, REMEMBER, sampleNow, sampling, STANDARD_READTABLE, T, TRAP_OVERFLOW, TRAP_UNDERFLOW, UNBOUND_VALUE, UNSIGNED_BYTE_16, UNSIGNED_BYTE_32, UNSIGNED_BYTE_32_MAX_VALUE, UNSIGNED_BYTE_8 |
Method Summary |
LispObject[] |
accumulateValues(LispObject result,
LispObject[] oldValues)
|
void |
backtrace()
|
void |
backtrace(int limit)
|
LispObject |
backtraceAsList(int limit)
|
void |
bindSpecial(Symbol name,
LispObject value)
|
void |
bindSpecialToCurrentValue(Symbol name)
|
LispObject |
classOf()
|
void |
clearValues()
|
static LispThread |
currentThread()
|
LispObject |
execute(LispObject function)
|
LispObject |
execute(LispObject function,
LispObject arg)
|
LispObject |
execute(LispObject function,
LispObject[] args)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth,
LispObject seventh)
|
LispObject |
execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth,
LispObject seventh,
LispObject eighth)
|
SpecialBinding |
getSpecialBinding(LispObject name)
|
LispObject |
getStack()
|
LispObject[] |
getValues()
|
LispObject[] |
getValues(LispObject result,
int count)
|
void |
incrementCallCounts()
|
boolean |
isDestroyed()
|
LispObject |
lookupSpecial(LispObject name)
|
LispObject |
nothing()
|
void |
popCatchTag()
|
void |
pushCatchTag(LispObject tag)
|
LispObject |
pushSpecial(Symbol name,
LispObject thing)
|
void |
pushStackFrame(LispObject operator)
|
void |
pushStackFrame(LispObject operator,
LispObject arg)
|
void |
pushStackFrame(LispObject operator,
LispObject[] args)
|
void |
pushStackFrame(LispObject operator,
LispObject first,
LispObject second)
|
void |
pushStackFrame(LispObject operator,
LispObject first,
LispObject second,
LispObject third)
|
void |
rebindSpecial(Symbol name,
LispObject value)
|
void |
resetStack()
|
LispObject |
safeSymbolValue(Symbol name)
|
LispObject |
setSpecialVariable(Symbol name,
LispObject value)
|
void |
setStack(LispObject stack)
|
LispObject |
setValues()
|
LispObject |
setValues(LispObject value1)
|
LispObject |
setValues(LispObject[] values)
|
LispObject |
setValues(LispObject value1,
LispObject value2)
|
LispObject |
setValues(LispObject value1,
LispObject value2,
LispObject value3)
|
LispObject |
setValues(LispObject value1,
LispObject value2,
LispObject value3,
LispObject value4)
|
void |
throwToTag(LispObject tag,
LispObject result)
|
LispObject |
typeOf()
|
LispObject |
typep(LispObject typeSpecifier)
|
LispObject |
value(LispObject obj)
|
java.lang.String |
writeToString()
|
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, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getInstance, getParts, getPropertyList, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolValue, incr, incrementCallCount, 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, 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, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setPropertyList, 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, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP |
Methods inherited from class org.armedbear.lisp.Lisp |
assq, bindArg, checkArray, checkBinaryInputStream, checkBounds, checkCharacter, checkCharacterInputStream, checkCharacterOutputStream, checkEnvironment, checkFunction, checkList, checkPackage, checkReadtable, checkStream, checkSymbol, checkVector, coerceJavaByteToLispObject, coerceLispObjectToJavaByte, coerceToFunction, coerceToPackage, coerceToPathname, currentReadtable, designator_readtable, error, error, eval, eval, evalCall, exit, exportConstant, exportSpecial, format, funcall, gensym, gensym, get, get, getCurrentPackage, getf, getStandardInput, getStandardOutput, getTerminalIO, getUpgradedArrayElementType, handleInterrupt, inSynonymOf, intern, internConstant, internInPackage, internKeyword, internSpecial, isValidSetfFunctionName, javaString, list, list1, list2, list3, list4, list5, list6, list7, list8, list9, loadCompiledFunction, loadTimeValue, macroexpand_1, macroexpand, makeCompiledClosure, memq, memql, mix, mod, multipleValueCall1, multipleValueList, number, number, number, progn, progvBindVars, put, putf, readObjectFromString, recall, remprop, resetIO, resetIO, safeWriteToString, setInterrupted, type_error, writeByte |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastSpecialBinding
public SpecialBinding lastSpecialBinding
_values
public LispObject[] _values
currentThread
public static final LispThread currentThread()
typeOf
public LispObject typeOf()
- Overrides:
typeOf
in class LispObject
classOf
public LispObject classOf()
- Overrides:
classOf
in class LispObject
typep
public LispObject typep(LispObject typeSpecifier)
throws ConditionThrowable
- Overrides:
typep
in class LispObject
- Throws:
ConditionThrowable
isDestroyed
public final boolean isDestroyed()
getValues
public final LispObject[] getValues()
getValues
public final LispObject[] getValues(LispObject result,
int count)
accumulateValues
public final LispObject[] accumulateValues(LispObject result,
LispObject[] oldValues)
setValues
public final LispObject setValues()
setValues
public final LispObject setValues(LispObject value1)
setValues
public final LispObject setValues(LispObject value1,
LispObject value2)
setValues
public final LispObject setValues(LispObject value1,
LispObject value2,
LispObject value3)
setValues
public final LispObject setValues(LispObject value1,
LispObject value2,
LispObject value3,
LispObject value4)
setValues
public final LispObject setValues(LispObject[] values)
clearValues
public final void clearValues()
nothing
public final LispObject nothing()
value
public final LispObject value(LispObject obj)
bindSpecial
public final void bindSpecial(Symbol name,
LispObject value)
bindSpecialToCurrentValue
public final void bindSpecialToCurrentValue(Symbol name)
lookupSpecial
public final LispObject lookupSpecial(LispObject name)
getSpecialBinding
public final SpecialBinding getSpecialBinding(LispObject name)
setSpecialVariable
public final LispObject setSpecialVariable(Symbol name,
LispObject value)
pushSpecial
public final LispObject pushSpecial(Symbol name,
LispObject thing)
throws ConditionThrowable
- Throws:
ConditionThrowable
safeSymbolValue
public final LispObject safeSymbolValue(Symbol name)
rebindSpecial
public final void rebindSpecial(Symbol name,
LispObject value)
pushCatchTag
public void pushCatchTag(LispObject tag)
throws ConditionThrowable
- Throws:
ConditionThrowable
popCatchTag
public void popCatchTag()
throws ConditionThrowable
- Throws:
ConditionThrowable
throwToTag
public void throwToTag(LispObject tag,
LispObject result)
throws ConditionThrowable
- Throws:
ConditionThrowable
getStack
public LispObject getStack()
setStack
public void setStack(LispObject stack)
pushStackFrame
public void pushStackFrame(LispObject operator)
throws ConditionThrowable
- Throws:
ConditionThrowable
pushStackFrame
public void pushStackFrame(LispObject operator,
LispObject arg)
throws ConditionThrowable
- Throws:
ConditionThrowable
pushStackFrame
public void pushStackFrame(LispObject operator,
LispObject first,
LispObject second)
throws ConditionThrowable
- Throws:
ConditionThrowable
pushStackFrame
public void pushStackFrame(LispObject operator,
LispObject first,
LispObject second,
LispObject third)
throws ConditionThrowable
- Throws:
ConditionThrowable
pushStackFrame
public void pushStackFrame(LispObject operator,
LispObject[] args)
throws ConditionThrowable
- Throws:
ConditionThrowable
resetStack
public void resetStack()
execute
public LispObject execute(LispObject function)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject arg)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth,
LispObject seventh)
throws ConditionThrowable
- Overrides:
execute
in class LispObject
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject first,
LispObject second,
LispObject third,
LispObject fourth,
LispObject fifth,
LispObject sixth,
LispObject seventh,
LispObject eighth)
throws ConditionThrowable
- Throws:
ConditionThrowable
execute
public LispObject execute(LispObject function,
LispObject[] args)
throws ConditionThrowable
- Throws:
ConditionThrowable
backtrace
public void backtrace()
backtrace
public void backtrace(int limit)
backtraceAsList
public LispObject backtraceAsList(int limit)
throws ConditionThrowable
- Throws:
ConditionThrowable
incrementCallCounts
public void incrementCallCounts()
throws ConditionThrowable
- Throws:
ConditionThrowable
writeToString
public java.lang.String writeToString()
throws ConditionThrowable
- Overrides:
writeToString
in class LispObject
- Throws:
ConditionThrowable