|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.Stella_Object
edu.isi.stella.StandardObject
edu.isi.stella.Cons
public class Cons
| Field Summary | |
|---|---|
Cons |
rest
|
Stella_Object |
value
|
| Constructor Summary | |
|---|---|
Cons()
|
|
| Method Summary | |
|---|---|
static Stella_Object |
accessConsSlotValue(Cons self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
static void |
addConsToEndOfConsList(Cons self,
Cons lastcons)
|
static List |
addTraceEvaluatorWrapper(Cons arguments)
|
static Stella_Object |
allDefinedP(Cons forms)
Evaluate each of the forms in 'forms', and return TRUE if none of them are NULL. |
Iterator |
allocateDestructiveListIterator()
|
ConsIterator |
allocateIterator()
|
static Cons |
append(Cons conslist1,
Cons conslist2)
Return a cons list representing the concatenation of conslist1 and conslist2. |
static Cons |
attachUnhandledCaseErrorClause(Cons casetree,
Stella_Object testtree)
|
static boolean |
badArgumentCountP(Cons tree,
int arity)
|
static boolean |
badArgumentRangeP(Cons tree,
int minarity,
int maxarity)
|
static double |
base60ToFloat(Cons l)
Converts (x y z) into a float. |
Iterator |
butLast()
Generate all but the last element of the cons list self. |
static void |
callClearModuleEvaluatorWrapper(Cons arguments)
|
static Context |
cccEvaluatorWrapper(Cons arguments)
|
static Context |
ccEvaluatorWrapper(Cons arguments)
|
static java.lang.reflect.Method |
chooseSortPredicate(Cons self)
|
static boolean |
clCompileAndLoadFiles(Cons files,
boolean relativeP,
boolean forcerecompilationP)
|
static void |
clearModuleEvaluatorWrapper(Cons arguments)
|
static Cons |
clTranslateArefTree(Cons tree)
|
static Stella_Object |
clTranslateArgumentListTree(Cons tree)
|
static Stella_Object |
clTranslateBadSys(Cons tree)
|
static Cons |
clTranslateBooleanTree(Cons tree)
|
static Cons |
clTranslateCallFunctionCodeTree(Cons tree)
|
static Stella_Object |
clTranslateCallMethodTree(Cons tree)
|
static Cons |
clTranslateCaseTree(Cons tree)
|
static Stella_Object |
clTranslateCastTree(Cons tree)
|
static Cons |
clTranslateConditionalTree(Cons tree)
|
static Cons |
clTranslateCondTree(Cons tree)
|
static Cons |
clTranslateFixedSlotValueSetterTree(Cons tree)
|
static Cons |
clTranslateFixedSlotValueTree(Cons tree)
|
static Cons |
clTranslateForeachTree(Cons tree)
|
static Cons |
clTranslateHandleExceptionTree(Cons tree)
|
static Cons |
clTranslateHandlerCaseTree(Cons tree)
|
static Stella_Object |
clTranslateInlineCallTree(Cons tree)
|
static Cons |
clTranslateInlineTree(Cons tree)
|
static Cons |
clTranslateLetTree(Cons tree,
boolean specialP)
|
static Cons |
clTranslateListOfTrees(Cons trees)
|
static Cons |
clTranslateMakeTree(Cons tree)
|
static Cons |
clTranslateNewArrayTree(Cons tree)
|
static Cons |
clTranslateNewTree(Cons tree)
|
static Cons |
clTranslateNthTree(Cons tree)
|
static Cons |
clTranslateOperatorTree(Cons tree)
|
static Cons |
clTranslatePrintStreamTree(Cons tree)
|
static Stella_Object |
clTranslateReturnTree(Cons tree)
|
static Cons |
clTranslateSetqTree(Cons tree)
|
static Cons |
clTranslateSignalTree(Cons tree)
|
static Cons |
clTranslateSpecialTree(Cons tree)
|
static Cons |
clTranslateStartupTimePrognTree(Cons tree)
|
static Cons |
clTranslateTheCodeTree(Cons tree)
|
static Stella_Object |
clTranslateTypedSys(Cons tree)
|
static Cons |
clTranslateUnwindProtectTree(Cons tree)
|
static Stella_Object |
clTranslateVerbatimTree(Cons tree)
|
static Cons |
clTranslateVoidSys(Cons tree)
|
static Cons |
clTranslateWhileTree(Cons tree)
|
static Cons |
clYieldDeclareTree(Cons declarations,
boolean includeTypeChecksP)
|
static Cons |
clYieldLetVariableTypeDeclarationTrees(Cons bindingstree)
|
static Stella_Object |
collect(Cons body)
Use a VRLET to collect values. |
static Cons |
collectCursorClauses(Cons cursorstree,
boolean dontoptimizeP,
java.lang.Object[] MV_returnarray)
|
static boolean |
compileAndLoadFiles(Cons files,
Keyword language,
boolean forcerecompilationP)
|
static java.lang.String |
composeNamestring(Cons nameComponents,
Cons options)
nameComponents is a cons to be processed into a namestring. |
static java.lang.String |
composeNamestringFull(Cons strings,
java.lang.String prefix,
java.lang.String suffix,
Keyword outputcase,
java.lang.String outputseparator,
StringHashTable translationtable,
boolean useacronymheuristicsP)
Non-keyword version of composeNamestring, which will probably be
easier to use when called from non-Lisp languages. |
Cons |
concatenate(Cons list2,
Cons otherlists)
Return a cons list consisting of the concatenation of list1, list2, and otherlists. |
static Cons |
condTreeToIfTree(Cons tree)
|
Cons |
consify()
Return self. |
static Stella_Object |
consTreeNth(Cons tree,
Cons index)
Access an arbitrary element of tree identified by a path
specified as a list of index values. |
static Cons |
consTreeNthRest(Cons tree,
Cons index)
Access an arbitrary sublist of tree identified by a path
specified as a list of index values. |
static Stella_Object |
continuableError(Cons body)
Signal error message, placing non-string arguments in quotes. |
static Cons |
copyConsList(Cons self)
Return a copy of the cons list self. |
static int |
countCaseTestClauses(Cons tree,
java.lang.Object[] MV_returnarray)
|
static boolean |
cppAssignmentP(Cons statement)
|
static Cons |
cppFlattenStatements(Cons statements)
|
static void |
cppHelpOutputBinaryOperator(Cons expression,
int nestlevel)
|
static boolean |
cppIndentStatementP(Cons statement)
|
static boolean |
cppLastStatementIsReturnP(Cons statements)
|
static void |
cppOutputActualParameters(Cons parameters)
|
static void |
cppOutputArrayReference(Cons tree)
|
static void |
cppOutputAssignment(Cons assignment)
|
static void |
cppOutputBinaryOperator(Cons expression)
|
static void |
cppOutputBlock(Cons block)
|
static void |
cppOutputCase(Cons renamed_Case)
|
static void |
cppOutputCast(Cons tree)
|
static void |
cppOutputCatch(Cons tree)
|
static void |
cppOutputClass(Cons classdef)
|
static void |
cppOutputClassHeadDeclarations(Cons classes)
|
static void |
cppOutputCond(Cons cond)
|
static void |
cppOutputDefprint(Cons defprint)
|
static void |
cppOutputDefprintSignature(Cons defprint)
|
static void |
cppOutputDereference(Cons tree)
|
static void |
cppOutputDerivedClasses(Cons classlist)
|
static void |
cppOutputForeach(Cons loop)
|
static void |
cppOutputFormalParameters(Cons parameters)
|
static void |
cppOutputFuncall(Cons funcall)
|
static void |
cppOutputFuncallFunctionSignature(Cons signature)
|
static void |
cppOutputFunction(Cons function)
|
static void |
cppOutputFunctionCall(Cons functioncall)
|
static void |
cppOutputFunctionSignature(Cons function)
|
static void |
cppOutputGlobalDeclaration(Cons global)
|
static void |
cppOutputHandlerCase(Cons tree)
|
static void |
cppOutputIf(Cons tree)
|
void |
cppOutputLiteral()
|
static void |
cppOutputLoop(Cons loop)
|
static void |
cppOutputMake(Cons statement)
|
static void |
cppOutputMethodCall(Cons methodcall)
|
static void |
cppOutputMethodCodeCall(Cons methodcall)
|
static void |
cppOutputMethodCodeCallSignature(Cons signature)
|
static void |
cppOutputMethodSetterCall(Cons methodsettercall)
|
static void |
cppOutputParseTree(Cons constree)
|
static void |
cppOutputPrintNativeStream(Cons exps)
|
static void |
cppOutputPrintStream(Cons exps)
|
static void |
cppOutputProgn(Cons progn)
|
static void |
cppOutputReferencedMethodCall(Cons methodcall)
|
static void |
cppOutputReferencedSlotValue(Cons statement)
|
static void |
cppOutputReturn(Cons returnstatement)
|
static boolean |
cppOutputSemicolonP(Cons statement)
|
static void |
cppOutputSignal(Cons tree)
|
static void |
cppOutputSignature(Cons signature,
boolean outputmethodclassP)
|
static void |
cppOutputSlotValue(Cons statement)
|
static void |
cppOutputSlotValueSetter(Cons statement)
|
static void |
cppOutputStatementLine(Cons statement)
|
static void |
cppOutputStatements(Cons statementlist)
|
static void |
cppOutputStreamPrintItems(Cons items)
|
static void |
cppOutputTemplateParameters(Cons parameters)
|
static void |
cppOutputTernaryOperator(Cons expression)
|
static Stella_Object |
cppOutputToString(Cons statement)
|
static void |
cppOutputTypeExpression(Cons typeexpression)
|
static void |
cppOutputUnaryOperator(Cons expression)
|
static void |
cppOutputUnless(Cons tree)
|
static void |
cppOutputUnwindProtect(Cons tree)
|
static void |
cppOutputVariableDefinition(Cons variable)
|
static void |
cppOutputWhen(Cons tree)
|
static void |
cppOutputWhile(Cons loop)
|
static void |
cppOutputWithProcessLock(Cons synch)
|
static Cons |
cppTranslateActualParameters(Cons tree)
|
static Stella_Object |
cppTranslateBadSys(Cons tree)
|
static Cons |
cppTranslateBreak(Cons tree)
|
static Cons |
cppTranslateCallFunctionCode(Cons tree)
|
static Cons |
cppTranslateCallMethodCode(Cons tree)
|
static Cons |
cppTranslateCallMethodSetter(Cons tree)
|
static Cons |
cppTranslateCaseTree(Cons tree)
|
static Cons |
cppTranslateCast(Cons tree)
|
static Cons |
cppTranslateChooseTree(Cons tree)
|
static Cons |
cppTranslateCodeSignature(Cons signature)
|
static Cons |
cppTranslateCondition(Cons condition,
boolean symbolcasep)
|
static Cons |
cppTranslateCondTree(Cons tree)
|
static Cons |
cppTranslateContinue(Cons tree)
|
static Cons |
cppTranslateForeachTree(Cons tree)
|
static Cons |
cppTranslateFunctionCall(Cons tree,
MethodSlot method)
|
static Cons |
cppTranslateHandleException(Cons tree)
|
static Cons |
cppTranslateHandlerCase(Cons tree)
|
static Cons |
cppTranslateIfTree(Cons tree)
|
static Stella_Object |
cppTranslateInlineCallTree(Cons tree)
|
static Cons |
cppTranslateInlineTree(Cons tree)
|
static Cons |
cppTranslateLetTree(Cons tree)
|
static Cons |
cppTranslateListOfTrees(Cons trees)
|
static Cons |
cppTranslateLoop(Cons tree)
|
static Cons |
cppTranslateMakeTree(Cons tree)
|
static Cons |
cppTranslateMethodCall(Cons tree,
boolean referencedP)
|
static Cons |
cppTranslateMethodCodeSignature(Cons signature)
|
static Cons |
cppTranslateMvFunctionCall(Cons functioncall,
Cons variables)
|
static Cons |
cppTranslateMvSetq(Cons tree)
|
static Cons |
cppTranslateNewArray(Cons tree)
|
static Cons |
cppTranslateOperatorCall(Cons operatornames,
Cons arguments,
int arity)
|
static Cons |
cppTranslateOperatorTree(Cons tree)
|
static Cons |
cppTranslatePrintNativeStream(Cons tree)
|
static Cons |
cppTranslatePrintStream(Cons tree)
|
static Cons |
cppTranslateProgn(Cons tree)
|
static Cons |
cppTranslateReturnTree(Cons tree)
|
static Cons |
cppTranslateSetqTree(Cons tree)
|
static Cons |
cppTranslateSignal(Cons tree)
|
static Cons |
cppTranslateSpecialTree(Cons tree)
|
static Cons |
cppTranslateStartupTimeProgn(Cons tree)
|
static Cons |
cppTranslateSysNew(Cons tree)
|
static Cons |
cppTranslateSysPointerToFunction(Cons tree)
|
static Cons |
cppTranslateSysReferencedSlotValue(Cons tree)
|
static Cons |
cppTranslateSysSlotValue(Cons tree)
|
static Cons |
cppTranslateSysSlotValueSetter(Cons tree)
|
static Cons |
cppTranslateTheCode(Cons tree)
|
static Cons |
cppTranslateTypedSys(Cons tree)
|
static Cons |
cppTranslateUnlessTree(Cons tree)
|
static Cons |
cppTranslateUnwindProtect(Cons tree)
|
static Cons |
cppTranslateVariableLengthActuals(Cons actuals,
MethodSlot method)
|
static Cons |
cppTranslateVerbatimTree(Cons tree)
|
static Cons |
cppTranslateVoidSys(Cons tree)
|
static Cons |
cppTranslateWhenTree(Cons tree)
|
static Cons |
cppTranslateWhile(Cons tree)
|
static Cons |
cppTranslateWithProcessLock(Cons tree)
|
static java.lang.String |
createAnnotation(Cons topLevelTree)
|
static boolean |
declarationTreeP(Cons tree)
|
static Stella_Class |
defineClassFromParseTree(Cons parsetree)
|
static StorageSlot |
defineExternalSlotFromParseTree(Cons parsetree)
|
static MethodSlot |
defineMethodFromParseTree(Cons parsetree)
|
static GlobalVariable |
defineStellaGlobalVariableFromParseTree(Cons tree,
java.lang.String stringifiedsource,
java.lang.Object[] MV_returnarray)
|
static Surrogate |
defineStellaTypeFromParseTree(Cons tree)
|
static StorageSlot |
defineStorageSlotFromParseTree(Cons slotdef,
Surrogate owner)
|
static Stella_Object |
defmain(Cons varlist,
Cons body)
Defines a function called MAIN which will have the appropriate signature for the target translation language. |
static void |
defmoduleEvaluatorWrapper(Cons arguments)
|
static SystemDefinition |
defsystemEvaluatorWrapper(Cons arguments)
|
static Cons |
deleteQuotedNullStatements(Cons trees)
|
static void |
describeEvaluatorWrapper(Cons arguments)
|
static Symbol |
destructureCallTree(Cons tree,
java.lang.Object[] MV_returnarray)
|
static Cons |
destructureDefdemonBody(Cons demontree,
java.lang.Object[] MV_returnarray)
|
static Stella_Object |
destructureDefmethodTree(Cons methodTree,
KeyValueList optionsTable,
java.lang.Object[] MV_returnarray)
Return three parse trees representing the name, parameters, and code body of the parse tree methodTree. |
static Cons |
deUglifyArguments(Cons uglyarguments)
|
Cons |
difference(Cons otherlist)
Return the set difference of self and otherlist (i.e., all elements
that are in self but not in otherSet). |
static List |
dropTraceEvaluatorWrapper(Cons arguments)
|
static Cons |
eliminateVrletStatement(Cons tree)
|
boolean |
emptyP()
Return true iff self equals nil. |
int |
equalHashCode()
Return an equalP hash code for self. |
boolean |
equivalentSetsP(Cons otherlist)
Return true if every element of self occurs in otherlist and vice versa. |
static Stella_Object |
error(Cons body)
Signal error message, placing non-string arguments in quotes. |
static Stella_Object |
evaluateConsTree(Cons tree,
java.lang.Object[] MV_returnarray)
|
static Stella_Object |
evaluationError(Cons body)
|
static Stella_Object |
expandMacro(Cons tree)
|
static Cons |
expandMarkupTagFunction(Cons tagAndStream,
Cons body,
boolean xmlP)
|
static Cons |
extractDoClause(Cons tail,
java.lang.Object[] MV_returnarray)
|
static Cons |
extractGeneratorsClause(Cons tail,
java.lang.Object[] MV_returnarray)
|
static Cons |
extractOneGeneratorTerm(Cons tail,
java.lang.Object[] MV_returnarray)
|
static Cons |
extractOneInClause(Cons tail,
java.lang.Object[] MV_returnarray)
|
static Cons |
extractOptions(Cons tree,
KeyValueList optionstable)
|
static Keyword |
extractStartupTimePhase(Cons tree)
|
Stella_Object |
fifth()
Return the fifth element of self. |
Stella_Object |
fifthSetter(Stella_Object value)
|
static Cons |
filesPlusSystemStartup(Cons files)
|
static Cons |
findMemoizedValueEntry(Cons bucket,
Stella_Object arg1,
Stella_Object arg2,
Stella_Object arg3,
Stella_Object arg4,
int eqvector,
boolean deleteentryP)
|
static Cons |
findMemoizedValueEntryn(Cons bucket,
Cons tuple,
int eqvector,
boolean deleteentryP)
|
static Cons |
finishWalkingEqlTree(Cons tree,
Surrogate type1,
Surrogate type2,
java.lang.Object[] MV_returnarray)
|
static Cons |
|