edu.isi.stella
Class Cons

java.lang.Object
  extended by edu.isi.stella.Stella_Object
      extended by edu.isi.stella.StandardObject
          extended by edu.isi.stella.Cons

public class Cons
extends StandardObject


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 finishWalkingEqualTree(Cons tree, Surrogate type1, Surrogate type2, java.lang.Object[] MV_returnarray)
           
 Stella_Object first()
          Return the first element of self.
static Stella_Object firstDefined(Cons forms)
          Return the result of the first form in forms whose value is defined or NULL otherwise.
 Stella_Object firstSetter(Stella_Object value)
           
static Cons foreachToPrefixForeachTree(Cons foreachtree)
           
static Cons formatMessageArguments(Cons messageargumentstree, boolean trailingeolP)
           
static Cons formatStringMessageArguments(Cons messagearguments, boolean trailingeolP)
           
static Cons formatWalkMessageArguments(Cons messageargumentstree)
           
 Stella_Object fourth()
          Return the fourth element of self.
 Stella_Object fourthSetter(Stella_Object value)
           
static Stella_Object getEvaluatorWrapper(Cons arguments)
           
static Cons getLastNElements(Cons list, int n)
           
static Stella_Object getNextStellaToken(Cons options)
           
static Stella_Object getNextToken(Cons options)
           
static Stella_Object getQualifiedSymbolSeparatorPosition(Cons escapemode)
           
static Stella_Object getTokenText(Cons options)
           
static Cons getXmlAttributes(Cons expression)
          Return the list of attributes of an XML expression (may be empty).
static java.lang.String getXmlCdataContent(Cons form)
          Return the CDATA content of a CDATA form.
static Cons getXmlContent(Cons expression)
          Return the list of content elements of an XML expression (may be empty).
static XmlElement getXmlTag(Cons expression)
          Return the XML tag object of an XML expression.
static boolean handleInModuleTree(Cons tree, boolean seeninmoduleP, java.lang.Object[] MV_returnarray)
           
static int hashMemoizedArgumentsn(Cons tuple, int eqvector)
           
static Stella_Class helpDefineClassFromParseTree(Cons parsetree, java.lang.String stringifiedsource)
           
static MethodSlot helpDefineMethodFromParseTree(Cons inputtree, java.lang.String stringifiedsource, java.lang.Object[] MV_returnarray)
           
static Cons helpSortConsList(Cons list, int length, java.lang.reflect.Method predicate)
           
static boolean helpTranslateSystem(Cons files, boolean twopassP, boolean forcetranslationP)
           
static TranslationUnit helpWalkAuxiliaryTree(Cons tree, boolean finalizeP)
           
static Stella_Object helpWalkBooleanTree(Cons tree)
           
static void idlOutputDeclarations(Cons declarations)
           
static void idlOutputDerivedClasses(Cons classList)
           
static void idlOutputEnum(Cons renamed_Enum)
           
static void idlOutputEnumerands(Cons enumerands)
           
static void idlOutputFormalParameters(Cons parameters)
           
static void idlOutputFunctionSignature(Cons function)
           
static void idlOutputInterface(Cons classdef)
           
static void idlOutputOneFormalParameter(Cons parameter)
           
static void idlOutputParseTree(Cons constree)
           
static void idlOutputSignature(Cons signature, boolean outputmethodclassP)
           
static void idlOutputSignatures(Cons signatures)
           
static void idlOutputStruct(Cons classdef)
           
static void idlOutputTemplateParameters(Cons parameters)
           
static void idlOutputTypedef(Cons typedef)
           
static void idlOutputTypeExpression(Cons typeexpression)
           
static Stella_Object ignore(Cons variables)
          Ignore unused 'variables' with NoOp 'setq' statements.
static boolean illegalCppStatementP(Cons statement)
           
static Stella_Object inform(Cons body)
          Print informative message, placing non-string arguments in quotes, and terminating with a newline.
static void inPlaceNormalizeDemonOptions(Cons optionstree)
           
static void inPlaceObjectsToSymbols(Cons conslist)
           
static void inPlaceObjectsToTypes(Cons conslist)
           
 Cons intersection(Cons otherlist)
          Return the set intersection of self and otherlist.
static Cons javaDeleteQuotedNullStatements(Cons trees)
           
static void javaHelpOutputBinaryOperator(Cons expression, int nestlevel)
           
static boolean javaIllegalStatementP(Cons statement)
           
static boolean javaIndentStatementP(Cons statement)
           
static boolean javaLastStatementReturnsP(Cons statements)
           
static boolean javaLiteralStringP(Cons item)
           
static void javaOutputActualParameters(Cons parameters)
           
static void javaOutputActualsAsConsExpression(Cons arglist)
           
static void javaOutputAnonymousArray(Cons statement)
           
static void javaOutputAref(Cons statement)
           
static void javaOutputArray(Cons arrayelements)
           
static void javaOutputAssignment(Cons assignment)
           
static void javaOutputBinaryOperator(Cons expression)
           
static void javaOutputBlock(Cons block)
           
static void javaOutputBreak(Cons tag)
           
static void javaOutputCase(Cons renamed_Case)
           
static void javaOutputCast(Cons tree)
           
static void javaOutputCatch(Cons tree)
           
static void javaOutputClass(Cons classdef, boolean exceptionclassP)
           
static void javaOutputClassConstructors(Cons constructors, java.lang.String classname, boolean exceptionclassP)
           
static void javaOutputClassDeclaration(Cons classdef)
           
static void javaOutputClassMethods(Cons methods)
           
static void javaOutputClassVariableDefinitions(Cons variabletranslations)
           
static void javaOutputCond(Cons cond)
           
static void javaOutputContinue(Cons tag)
           
static void javaOutputDeclarations(Cons declarations)
           
static void javaOutputForeach(Cons loop)
           
static void javaOutputFormalParameters(Cons parameters)
           
static void javaOutputFuncall(Cons funcall)
           
static void javaOutputFunctionCall(Cons functioncall)
           
static void javaOutputGlobalDefinition(Cons global)
           
static void javaOutputHandlerCase(Cons tree)
           
static void javaOutputIf(Cons tree)
           
static void javaOutputImplementsInterfaces(Cons interfacelist)
           
 void javaOutputLiteral()
           
static void javaOutputLoop(Cons loop)
           
static void javaOutputMake(Cons statement)
           
static void javaOutputMakeArray(Cons statement)
           
static void javaOutputMethod(Cons method)
           
static void javaOutputMethodCall(Cons methodcall)
           
static void javaOutputMethodCodeCall(Cons methodcall)
           
static void javaOutputMethodSignature(Cons method)
           
static void javaOutputNamedStatement(Cons namedstatement)
           
static void javaOutputParseTree(Cons constree)
           
static void javaOutputPrintStream(Cons exps, boolean nativestreamP)
           
static void javaOutputProgn(Cons progn)
           
static void javaOutputReturn(Cons returnstatement)
           
static boolean javaOutputSemicolonP(Cons statement)
           
static void javaOutputSignal(Cons tree)
           
static void javaOutputSlotValue(Cons statement)
           
static void javaOutputSlotValueSetter(Cons statement)
           
static void javaOutputStatements(Cons statementlist)
           
static void javaOutputTernaryOperator(Cons expression)
           
static void javaOutputThrow(Cons tree)
           
static void javaOutputTypeExpression(Cons typeexpression)
           
static void javaOutputUnaryOperator(Cons expression)
           
static void javaOutputUnless(Cons tree)
           
static void javaOutputUnwindProtect(Cons tree)
           
static void javaOutputWhen(Cons tree)
           
static void javaOutputWhile(Cons loop)
           
static void javaOutputWithProcessLock(Cons synch)
           
static Cons javaReverseAndConsolidateStrings(Cons items)
           
static Cons javaSeparateCommentFromBody(Cons body, java.lang.Object[] MV_returnarray)
           
static boolean javaStatementReturnsP(Cons statement)
           
static Cons javaTranslateActualParameters(Cons tree)
           
static Cons javaTranslateActualParametersWithNativeWrappers(Cons trees, Cons parametertypes)
           
static Stella_Object javaTranslateBadSys(Cons tree)
           
static Cons javaTranslateBreak(Cons tree)
           
static Cons javaTranslateCallFunctionCode(Cons tree)
           
static Cons javaTranslateCallMethodCode(Cons tree)
           
static Cons javaTranslateCaseTree(Cons tree)
           
static Cons javaTranslateCast(Cons tree)
           
static Cons javaTranslateChooseTree(Cons tree)
           
static Cons javaTranslateCodeSignature(Cons signature)
           
static Cons javaTranslateCondition(Cons condition, boolean symbolcasep)
           
static Cons javaTranslateCondTree(Cons tree)
           
static Cons javaTranslateContinue(Cons tree)
           
static Cons javaTranslateForeachTree(Cons tree)
           
static Cons javaTranslateFunctionCall(Cons tree, MethodSlot method)
           
static Cons javaTranslateHandleException(Cons tree)
           
static Cons javaTranslateHandlerCase(Cons tree)
           
static Cons javaTranslateIfTree(Cons tree)
           
static Stella_Object javaTranslateIgnoreTree(Cons tree)
           
static Stella_Object javaTranslateInlineCallTree(Cons tree)
           
static Cons javaTranslateLetTree(Cons tree)
           
static Cons javaTranslateListOfTrees(Cons trees)
           
static Cons javaTranslateLoop(Cons tree)
           
static Cons javaTranslateMakeTree(Cons tree)
           
static Cons javaTranslateMethodCall(Cons tree)
           
static Cons javaTranslateMvFunctionCall(Cons functioncall, Symbol mvvectorname)
           
static Cons javaTranslateMvSetq(Cons tree)
           
static Cons javaTranslateNewArray(Cons tree)
           
static Cons javaTranslateObjectToReturnType(Cons tree, StandardObject returntype)
           
static Cons javaTranslateOperatorCall(Cons operatornames, Cons arguments, int arity)
           
static Cons javaTranslateOperatorTree(Cons tree)
           
static Cons javaTranslatePrintNativeStream(Cons tree)
           
static Cons javaTranslatePrintStream(Cons tree)
           
static Cons javaTranslateProgn(Cons tree)
           
static Cons javaTranslateReturnTree(Cons tree)
           
static Stella_Object javaTranslateSetqTree(Cons tree)
           
static Cons javaTranslateSignal(Cons tree)
           
static Cons javaTranslateSpecialTree(Cons tree)
           
static Cons javaTranslateSysNew(Cons tree)
           
static Stella_Object javaTranslateSysSetDefault(Cons tree)
           
static Cons javaTranslateSysSlotValue(Cons tree)
           
static Cons javaTranslateSysSlotValueSetter(Cons tree)
           
static Stella_Object javaTranslateTheCode(Cons tree)
           
static Cons javaTranslateTypedSys(Cons tree)
           
static Cons javaTranslateUnlessTree(Cons tree)
           
static Cons javaTranslateUnwindProtect(Cons tree)
           
static Cons javaTranslateVariableLengthActuals(Cons actuals, MethodSlot unusedMethod)
           
static Cons javaTranslateVerbatimTree(Cons tree)
           
static Cons javaTranslateVoidSys(Cons tree)
           
static Cons javaTranslateWhenTree(Cons tree)
           
static Cons javaTranslateWhile(Cons tree)
           
static Cons javaTranslateWithProcessLock(Cons tree)
           
static Cons javaWrapMethodBodyWithVarargDeclarations(Cons methodbody)
           
static Cons javaWrapMethodBodyWithVarargValueSetup(Cons methodbody)
           
static Cons javaWrapWithNativeValueExtraction(Cons tree, StandardObject primaryreturntype)
           
 Stella_Object last()
          Return the last element of self.
static Cons lastCons(Cons self)
          Return the last cons of self.
 int lastPosition(Stella_Object renamed_Object, int end)
          Return the position of renamed_Object within the cons-list self (counting from zero); or return null if renamed_Object does not occur within self (uses an eqlP test).
 int length()
          Return the length of the CONS list self.
 List listify()
          Return a list of elements in self.
static Cons listModulesEvaluatorWrapper(Cons arguments)
           
static void loadFileEvaluatorWrapper(Cons arguments)
           
static Stella_Object lookupVerbatimTree(Cons tree, Keyword language)
           
static BooleanWrapper makeSystemEvaluatorWrapper(Cons arguments)
           
static Cons mapNullToNil(Cons self)
          Return nil iff self is null or self otherwise.
static Cons matchPattern(Cons pattern, Cons datum, int datumLength)
           
static Cons maybeWrapWithContinueLabel(Cons translatedloopbody)
           
 boolean memberP(Stella_Object renamed_Object)
          Return true iff renamed_Object is a member of the cons list self (uses an eqlP test).
 boolean membP(Stella_Object renamed_Object)
          Return true iff renamed_Object is a member of the cons list self (uses an eqP test).
static Stella_Object memoize(Cons inputargs, Cons body)
          Compute the value of an expression and memoize it relative to the values of inputargs.
static Cons mergeConsLists(Cons list1, Cons list2, java.lang.reflect.Method predicate)
           
static Stella_Object messageToString(Cons body)
           
static java.lang.String nameQuotedTree(Cons tree)
           
static Cons newCons()
           
 boolean nonEmptyP()
          Return true iff self is not equal to nil.
 Stella_Object nth(int position)
          Return the element of self at position.
 Cons nthRest(int position)
          Apply rest position times to self.
 Stella_Object nthRestSetter(Stella_Object value, int position)
           
 Stella_Object nthSetter(Stella_Object value, int position)
           
 boolean objectEqualP(Stella_Object tree2)
          Return true iff the cons trees tree1 and tree2 are structurally equivalent.
static Stella_Object optimizeProgn(Cons prognTree)
           
static Cons parseListOfFilePaths(Cons files)
           
static PropertyList parseMemoizeOptions(Cons options)
           
static TokenizerTable parseTokenizerDefinition(Cons definition)
           
static Cons percolateOutBooleanVrletExpressions(Cons booleanexpression)
           
static Cons percolateOutVrletExpression(Cons statement, Cons vrexpression, StandardObject type, java.lang.Object[] MV_returnarray)
           
static void popLocalVariableBindings(Cons declarations)
           
 int position(Stella_Object renamed_Object, int start)
          Return the position of renamed_Object within the cons-list self (counting from zero); or return null if renamed_Object does not occur within self (uses an eqlP test).
static void pprintCons(Cons tree, java.io.PrintStream stream, java.lang.String lparen, java.lang.String rparen)
           
 Cons prepend(Cons list1)
          Return a cons list consisting of the concatenation of list1 and self.
static void prettyPrintDefinitionTree(Cons tree, OutputStream stream)
           
static void prettyPrintStellaTree(Cons tree, OutputStream stream)
           
 Surrogate primaryType()
          Returns the primary type of self.
static Stella_Object print(Cons body)
          Print arguments to the standard output stream.
static void printCons(Cons tree, java.io.PrintStream stream, java.lang.String lparen, java.lang.String rparen)
           
 void printObject(java.io.PrintStream stream)
           
static void printOutlineEvaluatorWrapper(Cons arguments)
           
static Stella_Object printSpaces(Cons body)
          (print-spaces [stream] N) prints N spaces onto stream.
static void printUnboundSurrogatesEvaluatorWrapper(Cons arguments)
           
static Cons processAttributeList(Cons reverseattributelist, XmlElement element, KvCons namespaceTable)
           
static XmlDoctype processDoctype(Cons doctypeDeclaration)
          Takes an S-Expression representing a doctype and processes into a DOCTYPE object.
static Stella_Object prognify(Cons trees)
           
static Stella_Object pushf(Cons place, Stella_Object value)
          Push 'value' onto the cons list 'place'.
 Cons remove(Stella_Object value)
          Destructively remove all entries in the cons list self that match value.
 Cons removeDeletedMembers()
           
 Cons removeDuplicates()
          Destructively remove duplicates from self and return the result.
static Cons removeDuplicatesFromLongList(Cons self)
           
 Cons removeIf(java.lang.reflect.Method testP)
          Destructively removes all members of the cons list self for which testP evaluates to true.
static Cons removeShadowedSymbols(Cons visiblesymbols)
           
 Cons reverse()
          Destructively reverse the members of the cons list self.
static int safelyComputeTreeSize(Cons tree, int depthcount, int cutoff)
           
static int safeTreeSize(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object searchPlist(Cons plist, Stella_Object key)
           
 Stella_Object second()
          Return the second element of self.
 Stella_Object secondSetter(Stella_Object value)
           
static void setCallLogBreakPointEvaluatorWrapper(Cons arguments)
           
static void setStellaFeatureEvaluatorWrapper(Cons arguments)
           
static Cons setTargetLanguageType(Cons systree, Surrogate type, java.lang.Object[] MV_returnarray)
           
static void setTimeValues(Cons stringForm, DecodedDateTime parsedValues, DecodedDateTime defaultValues)
           
static Stella_Object signalReadError(Cons body)
          Specialized version of signal that throws a READ-EXCEPTION.
static Slot slotFromExpressionTree(Cons tree)
           
 Cons sort(java.lang.reflect.Method predicate)
          Perform a stable, destructive sort of self according to predicate, and return the result.
static boolean sortTupleCompareP(Cons x, Cons y)
           
 Cons sortTuples(int n, java.lang.reflect.Method predicate)
          Just like sort but assumes each element of self is a tuple (a cons) whose n-th element (0-based) will be used for comparison.
static void startFunctionCallLoggingEvaluatorWrapper(Cons arguments)
           
static Cons startupNamesFromFiles(Cons files)
           
static StringWrapper stellaInformationEvaluatorWrapper(Cons arguments)
           
static java.lang.String stringifyMethodSignature(Cons parsetree)
           
 boolean subsetP(Cons otherlist)
          Return true if every element of self also occurs in otherlist.
 Cons substitute(Stella_Object invalue, Stella_Object outvalue)
          Destructively replace each appearance of outvalue by invalue in the cons list self.
 Cons subtract(Cons otherlist)
          Return the set difference of self and otherlist by destructively removing elements from self that also occur in otherlist.
 Stella_Object third()
          Return the third element of self.
 Stella_Object thirdSetter(Stella_Object value)
           
static Cons tokenizeVerbatimMethodBody(Cons tree)
           
static Cons transformBooleanProceduralExpression(Cons statement, Cons vrexpression, java.lang.Object[] MV_returnarray)
           
static Cons transformLetWithProceduralExpression(Cons tree)
           
static Cons transformProceduralExpression(Cons statement, Cons vrexpression, StandardObject type, java.lang.Object[] MV_returnarray)
           
static Cons transformVrletExpression(Cons statement, Cons vrexpression, java.lang.Object[] MV_returnarray)
           
 Cons union(Cons otherlist)
          Return the set union of self and otherlist.
static void unsetStellaFeatureEvaluatorWrapper(Cons arguments)
           
static Cons walkAConsTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkArefTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkArithmeticTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static void walkAuxiliaryTree(Cons tree)
           
static Stella_Object walkBooleanTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkBquoteTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkCallSlotTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkCaseTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkCastTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkChooseTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkClSpecialTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkConditionalTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkCondTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkCursorsTree(Cons cursorstree, boolean dontoptimizeP, java.lang.Object[] MV_returnarray)
           
static void walkDefclassTree(Cons tree)
           
static void walkDefglobalTree(Cons tree)
           
static void walkDefmacroTree(Cons tree)
           
static void walkDefmethodTree(Cons tree)
           
static void walkDefmoduleTree(Cons tree)
           
static void walkDefslotTree(Cons tree)
           
static void walkDeftypeTree(Cons tree)
           
static Stella_Object walkEqualityTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkError(Cons body)
           
static Cons walkExceptionCaseTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkExceptionHandlerTrees(Cons tree)
           
static Cons walkExistsTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkForallTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkForeachTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkFuncallTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkHardcodedSymbolCaseTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkInform(Cons body)
           
static Cons walkLetTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkListOfStatements(Cons trees)
           
static Cons walkListOfTrees(Cons trees)
           
static Cons walkLoopExitTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkLoopTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkMacroTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkMakeTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkMvBindTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkMvSetqTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkMvValuesTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkNewTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkNonBuiltInCaseTree(Cons tree, Symbol equalitytest, java.lang.Object[] MV_returnarray)
           
static Cons walkPrefixCollectIntoTree(Cons collectintotree, Cons iterators, Cons docode, java.lang.Object[] MV_returnarray)
           
static Cons walkPrefixForeachBody(Cons iteratorclauses, Stella_Object wheretest, Cons doactions)
           
static Cons walkPrefixForeachTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkPrintStreamTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkQuotedTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkReturnAndUnbindSpecials(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkReturnTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSetfTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSetqTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSignalExceptionTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSlotOnAbstractTypeTree(Cons tree, Surrogate abstracttype, java.lang.Object[] MV_returnarray)
           
static Cons walkSlotValueSetterTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSlotValueTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSomeTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkSpecialTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static void walkStartupTimePrognTree(Cons tree)
           
static Cons walkSysCallTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkTheCodeTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static void walkTopLevelTree(Cons tree, boolean createannotationP)
           
static Cons walkTypecaseTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkUndefinedSlotTree(Cons tree, StandardObject firstargtype, boolean warnP, java.lang.Object[] MV_returnarray)
           
static Cons walkUnwindProtectSpecialTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkUnwindProtectTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkValuesTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkVariableArguments(Cons arguments, MethodSlot method)
           
static Cons walkVariableDeclarations(Cons declarations)
           
static void walkVerbatimDefinitionTree(Cons tree)
           
static Stella_Object walkVerbatimTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object walkWarn(Cons body)
           
static Cons walkWhileTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Cons walkWithProcessLockTree(Cons tree, java.lang.Object[] MV_returnarray)
           
static Stella_Object warn(Cons body)
          Signal warning message, placing non-string arguments in quotes.
static Stella_Object withHtmlTag(Cons tagAndStream, Cons body)
           
static Stella_Object withInputFile(Cons binding, Cons body)
          Sets up an unwind-protected form which opens a file for input and closes it afterwards.
static Stella_Object withNetworkStream(Cons binding, Cons body)
          Sets up an unwind-protected form which opens a network socket stream to a host and port for input and output and closes it afterwards.
static Stella_Object withOutputFile(Cons binding, Cons body)
          Sets up an unwind-protected form which opens a file for output and closes it afterwards.
static Stella_Object withPermanentObjects(Cons body)
          Allocate 'permanent' (as opposed to 'transient') objects within the scope of this declaration.
static Stella_Object withTransientObjects(Cons body)
          Allocate 'transient' (as opposed to 'permanent') objects within the scope of this declaration.
static Stella_Object withXmlTag(Cons tagAndStream, Cons body)
           
static Cons wrapMethodBodyWithCppAuxiliaryDeclarations(Cons methodbody, Cons declarations)
           
static Cons wrapMethodBodyWithJavaAuxiliaryDeclarations(Cons methodbody, Cons declarations)
           
static java.lang.String xmlLookupAttribute(Cons attributes, java.lang.String name, java.lang.String namespace)
          Find the XML attribute in attributes with name and namespace and return its value.
static boolean xmlRegionMatchesP(Cons regionspec, Cons regiontag)
           
static AnchoredTypeSpecifier yieldAnchoredTypeSpecifier(Cons typespectree)
           
static Cons yieldDownCastTree(Cons tree, StandardObject returntype)
           
static Cons yieldFormatArguments(Cons tree)
           
static Cons yieldInCursorClauses(Cons intree, boolean dontoptimizeP, java.lang.Object[] MV_returnarray)
           
static Cons yieldInCursorClausesForIntegerInterval(Cons collectiontree, StandardObject collectiontype, Symbol keyvar, Symbol valuevar, java.lang.Object[] MV_returnarray)
           
static Cons yieldListifiedVariableArguments(Cons walkedargs, StandardObject targettype, boolean wrapargsP)
           
static Cons yieldNewArgumentsTree(Cons keywordsandvalues, StandardObject classtype, Symbol selfvariable, java.lang.Object[] MV_returnarray)
           
static Cons yieldOnCursorClauses(Cons ontree, java.lang.Object[] MV_returnarray)
           
static Cons yieldOptimizedInCursorClausesForIntegerInterval(Cons collectiontree, StandardObject collectiontype, Symbol keyvar, Symbol valuevar, java.lang.Object[] MV_returnarray)
           
static ParametricTypeSpecifier yieldParametricTypeSpecifier(Cons typespectree)
           
static Cons yieldPrintTree(Cons tree)
           
 StandardObject yieldTypeSpecifier()
           
 
Methods inherited from class edu.isi.stella.StandardObject
arrayTypeSpecifierP, baseTypeToTypeSpec, cantOverwriteActiveCollectionSlot, compatibleParameterTypesP, computeAnchoredTypeSpec, computeRelativeTypeSpec, conformingTypeSpecP, copyWrappedLiteral, cppReferenceTypeP, cppReferencizeType, cppTranslateAndPointerizeTypeSpec, cppTranslateAndReferencizeTypeSpec, cppTranslateTypeSpec, dropSlotValue, extractParameterType, extractRequiredArgumentValues, getSlot, hashCode_, idlTranslateTypeSpec, inverseSlotDemon, javaLiteralP, javaNativeLiteralWrapperNames, javaSpecialSetterName, javaTranslateArrayOfTypeSpec, javaTranslateTypeSpec, javaTranslateTypeSpecForFunction, javaTranslateTypeSpecHelper, javaYieldClassObjectArrayExpression, javaYieldClassObjectExpression, javaYieldFullyQualifiedTypeName, javaYieldTranslatedClassAndMethodNames, listifyTypeSpec, lookupClTypeFromStellaType, objectEqlP, putSlotValue, readSlotValue, runConstructorDemons, runDestructorDemons, runSlotDemons, runSlotGuardDemonsP, standardObjectP, subTypeSpecOfP, twoArgumentLeastCommonSupertype, typeSpecToBaseType, typeSpecToClass, typeToWalkedNullValueTree, validateTypeSpecifier, voidP, walkTypeSpecIsNativeTypeP, writeSlotValue, yieldTypeSpecTree
 
Methods inherited from class edu.isi.stella.Stella_Object
_, accessInContext, amPm, anchoredTypeSpecifierP, andOrNotTreeP, applyCoercionMethod, atomicExpressionP, bindToSurrogateP, booleanP, bootstrapIsaP, bquotify, cast, characterP, clTranslateAtomicTree, clTranslateATree, clTranslateBooleanTest, clTranslatePlainBooleanTest, clTranslateVerbatimBodySymbols, clYieldTypedExpressionTree, coerceATree, coerceEvaluatedTree, coerceMvTree, coerceToBoolean, coerceToModule, coerceToModuleName, coerceToSymbol, coerceToXmlElement, coercibleP, collectFeatureList, collectKeyValueList, commonLispSymbolP, computeExpressionType, cons, consifyListsAndIterators, consP, consTreeMatchP, convertToLiteral, copyConsTree, cppArgumentIsStreamP, cppBinaryOperatorP, cppBlockP, cppMaybeOutputStatementWithParentheses, cppOperatorP, cppOutputAtomicExpression, cppOutputOneActualParameter, cppOutputStatement, cppOutputTypedEntity, cppPrognifyStatement, cppPrognP, cppStatementToList, cppStreamIsStandardOutputP, cpptrans, cppTranslateAtomicTree, cppTranslateATree, cppTranslatedArrayTypeP, csValueP, dateDivider, dateTimeDivider, day, dealWithAmPm, dealWithEra, dealWithNoonMidn, decrementReferenceCount, defaultOptionHandler, defineSystem, defmodule, deletedP, describe, describeObject, describeTersely, destructureMethodNameTree, deUglifyParseTree, either, eqlP, eqlToBooleanP, eqlToCharacterP, eqlToFloatP, eqlToIntegerP, eqlToStringP, equalConsTreesP, equalP, era, estimatedEvaluationCost, evaluate, evaluateArgumentTree, evaluateAtomicTree, evaluateCommand, expandBquoteTree, filterModuleP, floatP, free, get, getObject, hashlist, hashMemoizedArguments, helpBquotify, helpClTranslateATree, helpCoerceATree, helpLptrans, helpPrintOutline, helpTransformBooleanProceduralExpression, helpWalkATree, homeModule, hour, idlOutputAtomicExpression, idlOutputLiteral, idlOutputStatement, idlTranslateAtomicTree, idlTranslateATree, illegalTreeP, implodePathname, incrementallyTranslate, incrementReferenceCount, inlineUnwrapBoolean, inlineWrapBoolean, inModule, integerP, isaP, javaBinaryOperatorP, javaBlockP, javaEndOfLineTokenP, javaHelpOutputPrintStream, javaMaybeOutputStatementWithParentheses, javaOperatorP, javaOutputStatement, javaPrognP, javaStreamIsStandardOutputP, javaSymbolCaseP, javaTranslateAtomicTree, javaTranslateATree, javaTranslateWithNativeWrapper, jptrans, keywordP, kvCons, legalTokenizerFromStateP, legalTokenizerStateP, legalTokenizerToStateP, literalEqlP, logLevelLE, lptrans, makeFileNameFromRelativePath, makeMemoizedValueEntry, makeMemoizedValueEntryn, matchConsTree, methodSlotP, minute, month, nameToString, nilP, noonMidn, numberWrapperToFloat, objectHashCode, one, oneI, onlyIf, parametricTypeSpecifierP, parseArrayDimensionsSpec, parseTokenizerCharacterSpec, parseTokenizerStateModifiers, permanentCopy, permanentify, permanentifyForm, po, prettyPrintLiteral, primaryClass, printOutline, printStellaCode, printStellaDefinition, printUndefinedSuperClasses, proceduralExpressionP, ptrans, publicSlots, registerRecycledItem, runOptionHandlerP, safeEqualHashCode, safeHashCode, safePrimaryType, safeYieldTypeSpecifier, searchConsTreeP, searchConsTreeWithFilterP, searchForObject, secondp, sideEffectFreeExpressionP, simplifyBquoteTree, specialp, stella_Increment, stellaClassP, stellaCollectionP, stellaNeedToCompileP, stellaNeedToTranslateP, stellaObjectP, stellify, storageSlotP, stringifyInModule, stringP, substituteConsTree, substituteOnce, surrogateP, surrogatify, sweep, symbolCaseP, symbolP, sysTree, targetLanguageType, taxonomyIsaP, timeDivider, timeMultiply, tokenizerIncludeSpecP, tokenizerToStateAlias, tokenizerToStateName, toString, traceIf, traceKeywordP, transientifyForm, transientObjectP, transientSymbolP, translateWalkedTree, treeSize, treeToTrees, trueOptionP, tryToEvaluate, typeP, typify, unmake, unregisterRecycledItem, updateInContext, valuesTreeP, variableExpressionP, verbatimStringP, verbatimTreeP, vetOptions, vrletExpressionP, walkAtomicTree, walkATree, walkCollectionTree, walkDontCallMeTree, walkedExpressionType, walkExpressionTree, walkMvExpressionTree, walkMvTree, walkStatement, walkTopLevelExpression, walkWithoutTypeTree, warnAboutUnknownSourceType, weekday, withinContext, withinModule, withinWorld, withStellaTokenizer, withSystemDefinition, withTokenizer, wrapperP, wrapWhereTest, xmlAttributeP, xmlCdataFormP, xmlCdataP, xmlDeclarationFormP, xmlDeclarationP, xmlDoctypeFormP, xmlElementFormP, xmlElementP, xmlnsAttributeP, xmlProcessingInstructionFormP, xmlProcessingInstructionP, xmlTagCase, year, yieldCondTest, yieldCondTestOrTests, yieldHardcodedCaseSymbolIdOrIds, yieldInCursorClausesForArgumentList, yieldInCursorClausesForGeneralCollection, yieldInCursorClausesForVector, zone, zoneMinute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public Stella_Object value

rest

public Cons rest
Constructor Detail

Cons

public Cons()
Method Detail

newCons

public static Cons newCons()

stellaInformationEvaluatorWrapper

public static StringWrapper stellaInformationEvaluatorWrapper(Cons arguments)

printOutlineEvaluatorWrapper

public static void printOutlineEvaluatorWrapper(Cons arguments)

idlOutputSignatures

public static void idlOutputSignatures(Cons signatures)

idlOutputSignature

public static void idlOutputSignature(Cons signature,
                                      boolean outputmethodclassP)

idlOutputDeclarations

public static void idlOutputDeclarations(Cons declarations)

idlOutputFunctionSignature

public static void idlOutputFunctionSignature(Cons function)

idlOutputFormalParameters

public static void idlOutputFormalParameters(Cons parameters)

idlOutputOneFormalParameter

public static void idlOutputOneFormalParameter(Cons parameter)

idlOutputStruct

public static void idlOutputStruct(Cons classdef)

idlOutputInterface

public static void idlOutputInterface(Cons classdef)

idlOutputTemplateParameters

public static void idlOutputTemplateParameters(Cons parameters)

idlOutputDerivedClasses

public static void idlOutputDerivedClasses(Cons classList)

idlOutputTypeExpression

public static void idlOutputTypeExpression(Cons typeexpression)

idlOutputEnum

public static void idlOutputEnum(Cons renamed_Enum)

idlOutputEnumerands

public static void idlOutputEnumerands(Cons enumerands)

idlOutputTypedef

public static void idlOutputTypedef(Cons typedef)

idlOutputParseTree

public static void idlOutputParseTree(Cons constree)

javaOutputActualParameters

public static void javaOutputActualParameters(Cons parameters)

javaOutputFunctionCall

public static void javaOutputFunctionCall(Cons functioncall)

javaOutputMethodCall

public static void javaOutputMethodCall(Cons methodcall)

javaOutputTernaryOperator

public static void javaOutputTernaryOperator(Cons expression)

javaOutputBinaryOperator

public static void javaOutputBinaryOperator(Cons expression)

javaHelpOutputBinaryOperator

public static void javaHelpOutputBinaryOperator(Cons expression,
                                                int nestlevel)

javaOutputUnaryOperator

public static void javaOutputUnaryOperator(Cons expression)

javaReverseAndConsolidateStrings

public static Cons javaReverseAndConsolidateStrings(Cons items)

javaLiteralStringP

public static boolean javaLiteralStringP(Cons item)

javaOutputPrintStream

public static void javaOutputPrintStream(Cons exps,
                                         boolean nativestreamP)

javaOutputForeach

public static void javaOutputForeach(Cons loop)

javaOutputWhile

public static void javaOutputWhile(Cons loop)

javaOutputLoop

public static void javaOutputLoop(Cons loop)

javaOutputAssignment

public static void javaOutputAssignment(Cons assignment)

javaOutputUnless

public static void javaOutputUnless(Cons tree)

javaOutputWhen

public static void javaOutputWhen(Cons tree)

javaOutputIf

public static void javaOutputIf(Cons tree)

javaOutputCond

public static void javaOutputCond(Cons cond)

javaOutputCase

public static void javaOutputCase(Cons renamed_Case)

javaLastStatementReturnsP

public static boolean javaLastStatementReturnsP(Cons statements)

javaStatementReturnsP

public static boolean javaStatementReturnsP(Cons statement)

javaOutputContinue

public static void javaOutputContinue(Cons tag)

javaOutputBreak

public static void javaOutputBreak(Cons tag)

javaOutputMethodCodeCall

public static void javaOutputMethodCodeCall(Cons methodcall)

javaOutputFuncall

public static void javaOutputFuncall(Cons funcall)

javaOutputActualsAsConsExpression

public static void javaOutputActualsAsConsExpression(Cons arglist)

javaOutputGlobalDefinition

public static void javaOutputGlobalDefinition(Cons global)

javaOutputSignal

public static void javaOutputSignal(Cons tree)

javaOutputHandlerCase

public static void javaOutputHandlerCase(Cons tree)

javaOutputUnwindProtect

public static void javaOutputUnwindProtect(Cons tree)

javaOutputCatch

public static void javaOutputCatch(Cons tree)

javaOutputThrow

public static void javaOutputThrow(Cons tree)

javaOutputReturn

public static void javaOutputReturn(Cons returnstatement)

javaOutputWithProcessLock

public static void javaOutputWithProcessLock(Cons synch)

javaOutputBlock

public static void javaOutputBlock(Cons block)

javaOutputProgn

public static void javaOutputProgn(Cons progn)

javaOutputCast

public static void javaOutputCast(Cons tree)

javaOutputMake

public static void javaOutputMake(Cons statement)

javaOutputDeclarations

public static void javaOutputDeclarations(Cons declarations)

javaOutputStatements

public static void javaOutputStatements(Cons statementlist)

javaIllegalStatementP

public static boolean javaIllegalStatementP(Cons statement)

javaIndentStatementP

public static boolean javaIndentStatementP(Cons statement)

javaOutputSemicolonP

public static boolean javaOutputSemicolonP(Cons statement)

javaOutputTypeExpression

public static void javaOutputTypeExpression(Cons typeexpression)

javaOutputLiteral

public void javaOutputLiteral()
Overrides:
javaOutputLiteral in class Stella_Object

javaOutputMethod

public static void javaOutputMethod(Cons method)

javaSeparateCommentFromBody

public static Cons javaSeparateCommentFromBody(Cons body,
                                               java.lang.Object[] MV_returnarray)

javaOutputMethodSignature

public static void javaOutputMethodSignature(Cons method)

javaOutputFormalParameters

public static void javaOutputFormalParameters(Cons parameters)

javaOutputNamedStatement

public static void javaOutputNamedStatement(Cons namedstatement)

javaOutputClassMethods

public static void javaOutputClassMethods(Cons methods)

javaOutputClassConstructors

public static void javaOutputClassConstructors(Cons constructors,
                                               java.lang.String classname,
                                               boolean exceptionclassP)

javaOutputClassVariableDefinitions

public static void javaOutputClassVariableDefinitions(Cons variabletranslations)

javaOutputClassDeclaration

public static void javaOutputClassDeclaration(Cons classdef)

javaOutputClass

public static void javaOutputClass(Cons classdef,
                                   boolean exceptionclassP)

javaOutputImplementsInterfaces

public static void javaOutputImplementsInterfaces(Cons interfacelist)

javaOutputSlotValueSetter

public static void javaOutputSlotValueSetter(Cons statement)

javaOutputSlotValue

public static void javaOutputSlotValue(Cons statement)

javaOutputAref

public static void javaOutputAref(Cons statement)

javaOutputAnonymousArray

public static void javaOutputAnonymousArray(Cons statement)

javaOutputArray

public static void javaOutputArray(Cons arrayelements)

javaOutputMakeArray

public static void javaOutputMakeArray(Cons statement)

javaOutputParseTree

public static void javaOutputParseTree(Cons constree)

javaTranslateOperatorCall

public static Cons javaTranslateOperatorCall(Cons operatornames,
                                             Cons arguments,
                                             int arity)

javaTranslateOperatorTree

public static Cons javaTranslateOperatorTree(Cons tree)

javaTranslateMethodCall

public static Cons javaTranslateMethodCall(Cons tree)

javaTranslateFunctionCall

public static Cons javaTranslateFunctionCall(Cons tree,
                                             MethodSlot method)

javaTranslateActualParameters

public static Cons javaTranslateActualParameters(Cons tree)

javaTranslateVariableLengthActuals

public static Cons javaTranslateVariableLengthActuals(Cons actuals,
                                                      MethodSlot unusedMethod)

javaWrapMethodBodyWithVarargValueSetup

public static Cons javaWrapMethodBodyWithVarargValueSetup(Cons methodbody)

javaWrapMethodBodyWithVarargDeclarations

public static Cons javaWrapMethodBodyWithVarargDeclarations(Cons methodbody)

javaDeleteQuotedNullStatements

public static Cons javaDeleteQuotedNullStatements(Cons trees)

javaTranslatePrintNativeStream

public static Cons javaTranslatePrintNativeStream(Cons tree)

javaTranslatePrintStream

public static Cons javaTranslatePrintStream(Cons tree)

javaTranslateIgnoreTree

public static Stella_Object javaTranslateIgnoreTree(Cons tree)

javaTranslateTheCode

public static Stella_Object javaTranslateTheCode(Cons tree)

javaTranslateCallMethodCode

public static Cons javaTranslateCallMethodCode(Cons tree)

javaTranslateCallFunctionCode

public static Cons javaTranslateCallFunctionCode(Cons tree)

javaTranslateObjectToReturnType

public static Cons javaTranslateObjectToReturnType(Cons tree,
                                                   StandardObject returntype)

javaWrapWithNativeValueExtraction

public static Cons javaWrapWithNativeValueExtraction(Cons tree,
                                                     StandardObject primaryreturntype)

javaTranslateActualParametersWithNativeWrappers

public static Cons javaTranslateActualParametersWithNativeWrappers(Cons trees,
                                                                   Cons parametertypes)

javaTranslateCodeSignature

public static Cons javaTranslateCodeSignature(Cons signature)

javaTranslateMvFunctionCall

public static Cons javaTranslateMvFunctionCall(Cons functioncall,
                                               Symbol mvvectorname)

javaTranslateMvSetq

public static Cons javaTranslateMvSetq(Cons tree)

javaTranslateNewArray

public static Cons javaTranslateNewArray(Cons tree)

javaTranslateSysNew

public static Cons javaTranslateSysNew(Cons tree)

javaTranslateMakeTree

public static Cons javaTranslateMakeTree(Cons tree)

javaTranslateUnlessTree

public static Cons javaTranslateUnlessTree(Cons tree)

javaTranslateWhenTree

public static Cons javaTranslateWhenTree(Cons tree)

javaTranslateChooseTree

public static Cons javaTranslateChooseTree(Cons tree)

javaTranslateWhile

public static Cons javaTranslateWhile(Cons tree)

javaTranslateCondTree

public static Cons javaTranslateCondTree(Cons tree)

javaTranslateCaseTree

public static Cons javaTranslateCaseTree(Cons tree)

javaTranslateCondition

public static Cons javaTranslateCondition(Cons condition,
                                          boolean symbolcasep)

javaTranslateIfTree

public static Cons javaTranslateIfTree(Cons tree)

javaTranslateContinue

public static Cons javaTranslateContinue(Cons tree)

javaTranslateBreak

public static Cons javaTranslateBreak(Cons tree)

javaTranslateReturnTree

public static Cons javaTranslateReturnTree(Cons tree)

javaTranslateCast

public static Cons javaTranslateCast(Cons tree)

javaTranslateLetTree

public static Cons javaTranslateLetTree(Cons tree)

javaTranslateForeachTree

public static Cons javaTranslateForeachTree(Cons tree)

javaTranslateLoop

public static Cons javaTranslateLoop(Cons tree)

javaTranslateWithProcessLock

public static Cons javaTranslateWithProcessLock(Cons tree)

javaTranslateProgn

public static Cons javaTranslateProgn(Cons tree)

javaTranslateSysSlotValue

public static Cons javaTranslateSysSlotValue(Cons tree)

javaTranslateSysSlotValueSetter

public static Cons javaTranslateSysSlotValueSetter(Cons tree)

javaTranslateSysSetDefault

public static Stella_Object javaTranslateSysSetDefault(Cons tree)

javaTranslateSetqTree

public static Stella_Object javaTranslateSetqTree(Cons tree)

javaTranslateBadSys

public static Stella_Object javaTranslateBadSys(Cons tree)

javaTranslateTypedSys

public static Cons javaTranslateTypedSys(Cons tree)

javaTranslateVoidSys

public static Cons javaTranslateVoidSys(Cons tree)

javaTranslateHandleException

public static Cons javaTranslateHandleException(Cons tree)

javaTranslateHandlerCase

public static Cons javaTranslateHandlerCase(Cons tree)

javaTranslateSignal

public static Cons javaTranslateSignal(Cons tree)

javaTranslateUnwindProtect

public static Cons javaTranslateUnwindProtect(Cons tree)

javaTranslateInlineCallTree

public static Stella_Object javaTranslateInlineCallTree(Cons tree)

javaTranslateVerbatimTree

public static Cons javaTranslateVerbatimTree(Cons tree)

javaTranslateSpecialTree

public static Cons javaTranslateSpecialTree(Cons tree)

javaTranslateListOfTrees

public static Cons javaTranslateListOfTrees(Cons trees)

wrapMethodBodyWithJavaAuxiliaryDeclarations

public static Cons wrapMethodBodyWithJavaAuxiliaryDeclarations(Cons methodbody,
                                                               Cons declarations)

cppOutputFunction

public static void cppOutputFunction(Cons function)

cppOutputFunctionSignature

public static void cppOutputFunctionSignature(Cons function)

cppOutputDefprint

public static void cppOutputDefprint(Cons defprint)

cppOutputDefprintSignature

public static void cppOutputDefprintSignature(Cons defprint)

cppOutputFunctionCall

public static void cppOutputFunctionCall(Cons functioncall)

cppOutputReferencedMethodCall

public static void cppOutputReferencedMethodCall(Cons methodcall)

cppOutputMethodCall

public static void cppOutputMethodCall(Cons methodcall)

cppOutputMethodSetterCall

public static void cppOutputMethodSetterCall(Cons methodsettercall)

cppOutputActualParameters

public static void cppOutputActualParameters(Cons parameters)

cppOutputFormalParameters

public static void cppOutputFormalParameters(Cons parameters)

cppOutputClass

public static void cppOutputClass(Cons classdef)

cppOutputTemplateParameters

public static void cppOutputTemplateParameters(Cons parameters)

cppOutputDerivedClasses

public static void cppOutputDerivedClasses(Cons classlist)

cppOutputWithProcessLock

public static void cppOutputWithProcessLock(Cons synch)

cppOutputBlock

public static void cppOutputBlock(Cons block)

cppOutputProgn

public static void cppOutputProgn(Cons progn)

cppOutputSignature

public static void cppOutputSignature(Cons signature,
                                      boolean outputmethodclassP)

cppOutputTypeExpression

public static void cppOutputTypeExpression(Cons typeexpression)

cppOutputReturn

public static void cppOutputReturn(Cons returnstatement)

cppOutputStatementLine

public static void cppOutputStatementLine(Cons statement)

cppOutputTernaryOperator

public static void cppOutputTernaryOperator(Cons expression)

cppOutputBinaryOperator

public static void cppOutputBinaryOperator(Cons expression)

cppHelpOutputBinaryOperator

public static void cppHelpOutputBinaryOperator(Cons expression,
                                               int nestlevel)

cppOutputUnaryOperator

public static void cppOutputUnaryOperator(Cons expression)

cppAssignmentP

public static boolean cppAssignmentP(Cons statement)

cppOutputPrintNativeStream

public static void cppOutputPrintNativeStream(Cons exps)

cppOutputPrintStream

public static void cppOutputPrintStream(Cons exps)

cppOutputStreamPrintItems

public static void cppOutputStreamPrintItems(Cons items)

cppOutputStatements

public static void cppOutputStatements(Cons statementlist)

illegalCppStatementP

public static boolean illegalCppStatementP(Cons statement)

cppIndentStatementP

public static boolean cppIndentStatementP(Cons statement)

cppOutputSemicolonP

public static boolean cppOutputSemicolonP(Cons statement)

cppOutputLiteral

public void cppOutputLiteral()
Overrides:
cppOutputLiteral in class Stella_Object

cppOutputMake

public static void cppOutputMake(Cons statement)

cppOutputSlotValueSetter

public static void cppOutputSlotValueSetter(Cons statement)

cppOutputReferencedSlotValue

public static void cppOutputReferencedSlotValue(Cons statement)

cppOutputSlotValue

public static void cppOutputSlotValue(Cons statement)

cppOutputForeach

public static void cppOutputForeach(Cons loop)

cppOutputWhile

public static void cppOutputWhile(Cons loop)

cppOutputLoop

public static void cppOutputLoop(Cons loop)

cppOutputAssignment

public static void cppOutputAssignment(Cons assignment)

cppOutputUnless

public static void cppOutputUnless(Cons tree)

cppOutputWhen

public static void cppOutputWhen(Cons tree)

cppOutputIf

public static void cppOutputIf(Cons tree)

cppOutputCond

public static void cppOutputCond(Cons cond)

cppOutputCase

public static void cppOutputCase(Cons renamed_Case)

cppLastStatementIsReturnP

public static boolean cppLastStatementIsReturnP(Cons statements)

cppOutputMethodCodeCall

public static void cppOutputMethodCodeCall(Cons methodcall)

cppOutputFuncall

public static void cppOutputFuncall(Cons funcall)

cppOutputMethodCodeCallSignature

public static void cppOutputMethodCodeCallSignature(Cons signature)

cppOutputFuncallFunctionSignature

public static void cppOutputFuncallFunctionSignature(Cons signature)

cppOutputVariableDefinition

public static void cppOutputVariableDefinition(Cons variable)

cppOutputGlobalDeclaration

public static void cppOutputGlobalDeclaration(Cons global)

cppOutputUnwindProtect

public static void cppOutputUnwindProtect(Cons tree)

cppOutputCatch

public static void cppOutputCatch(Cons tree)

cppOutputHandlerCase

public static void cppOutputHandlerCase(Cons tree)

cppOutputSignal

public static void cppOutputSignal(Cons tree)

cppOutputCast

public static void cppOutputCast(Cons tree)

cppOutputArrayReference

public static void cppOutputArrayReference(Cons tree)

cppOutputDereference

public static void cppOutputDereference(Cons tree)

cppFlattenStatements

public static Cons cppFlattenStatements(Cons statements)

cppOutputParseTree

public static void cppOutputParseTree(Cons constree)

cppOutputToString

public static Stella_Object cppOutputToString(Cons statement)

cppTranslateOperatorCall

public static Cons cppTranslateOperatorCall(Cons operatornames,
                                            Cons arguments,
                                            int arity)

cppTranslateOperatorTree

public static Cons cppTranslateOperatorTree(Cons tree)

cppTranslateFunctionCall

public static Cons cppTranslateFunctionCall(Cons tree,
                                            MethodSlot method)

getLastNElements

public static Cons getLastNElements(Cons list,
                                    int n)

cppTranslateCallMethodCode

public static Cons cppTranslateCallMethodCode(Cons tree)

cppTranslateCallFunctionCode

public static Cons cppTranslateCallFunctionCode(Cons tree)

cppTranslateMethodCodeSignature

public static Cons cppTranslateMethodCodeSignature(Cons signature)

cppTranslateCodeSignature

public static Cons cppTranslateCodeSignature(Cons signature)

cppTranslateMethodCall

public static Cons cppTranslateMethodCall(Cons tree,
                                          boolean referencedP)

cppTranslateCallMethodSetter

public static Cons cppTranslateCallMethodSetter(Cons tree)

cppTranslateVariableLengthActuals

public static Cons cppTranslateVariableLengthActuals(Cons actuals,
                                                     MethodSlot method)

cppTranslateActualParameters

public static Cons cppTranslateActualParameters(Cons tree)

cppTranslateReturnTree

public static Cons cppTranslateReturnTree(Cons tree)

wrapMethodBodyWithCppAuxiliaryDeclarations

public static Cons wrapMethodBodyWithCppAuxiliaryDeclarations(Cons methodbody,
                                                              Cons declarations)

deleteQuotedNullStatements

public static Cons deleteQuotedNullStatements(Cons trees)

cppTranslateLetTree

public static Cons cppTranslateLetTree(Cons tree)

cppTranslateSetqTree

public static Cons cppTranslateSetqTree(Cons tree)

cppTranslatePrintStream

public static Cons cppTranslatePrintStream(Cons tree)

cppTranslateStartupTimeProgn

public static Cons cppTranslateStartupTimeProgn(Cons tree)

cppTranslateMakeTree

public static Cons cppTranslateMakeTree(Cons tree)

cppTranslateSysSlotValueSetter

public static Cons cppTranslateSysSlotValueSetter(Cons tree)

cppTranslateSysSlotValue

public static Cons cppTranslateSysSlotValue(Cons tree)

cppTranslateSysReferencedSlotValue

public static Cons cppTranslateSysReferencedSlotValue(Cons tree)

cppTranslateBadSys

public static Stella_Object cppTranslateBadSys(Cons tree)

cppTranslateTypedSys

public static Cons cppTranslateTypedSys(Cons tree)

cppTranslateVoidSys

public static Cons cppTranslateVoidSys(Cons tree)

cppTranslateNewArray

public static Cons cppTranslateNewArray(Cons tree)

cppTranslateSysNew

public static Cons cppTranslateSysNew(Cons tree)

cppTranslateSysPointerToFunction

public static Cons cppTranslateSysPointerToFunction(Cons tree)

cppTranslateTheCode

public static Cons cppTranslateTheCode(Cons tree)

cppTranslateForeachTree

public static Cons cppTranslateForeachTree(Cons tree)

cppTranslateUnlessTree

public static Cons cppTranslateUnlessTree(Cons tree)

cppTranslateWhenTree

public static Cons cppTranslateWhenTree(Cons tree)

cppTranslateChooseTree

public static Cons cppTranslateChooseTree(Cons tree)

cppTranslateIfTree

public static Cons cppTranslateIfTree(Cons tree)

cppTranslateContinue

public static Cons cppTranslateContinue(Cons tree)

cppTranslateBreak

public static Cons cppTranslateBreak(Cons tree)

cppTranslateWithProcessLock

public static Cons cppTranslateWithProcessLock(Cons tree)

cppTranslateProgn

public static Cons cppTranslateProgn(Cons tree)

cppTranslateWhile

public static Cons cppTranslateWhile(Cons tree)

cppTranslateLoop

public static Cons cppTranslateLoop(Cons tree)

cppTranslateCondTree

public static Cons cppTranslateCondTree(Cons tree)

cppTranslateCaseTree

public static Cons cppTranslateCaseTree(Cons tree)

cppTranslateCondition

public static Cons cppTranslateCondition(Cons condition,
                                         boolean symbolcasep)

cppTranslateMvFunctionCall

public static Cons cppTranslateMvFunctionCall(Cons functioncall,
                                              Cons variables)

cppTranslateMvSetq

public static Cons cppTranslateMvSetq(Cons tree)

cppTranslateCast

public static Cons cppTranslateCast(Cons tree)

cppTranslateUnwindProtect

public static Cons cppTranslateUnwindProtect(Cons tree)

cppTranslateHandleException

public static Cons cppTranslateHandleException(Cons tree)

cppTranslateHandlerCase

public static Cons cppTranslateHandlerCase(Cons tree)

cppTranslateSignal

public static Cons cppTranslateSignal(Cons tree)

cppTranslatePrintNativeStream

public static Cons cppTranslatePrintNativeStream(Cons tree)

cppTranslateInlineCallTree

public static Stella_Object cppTranslateInlineCallTree(Cons tree)

tokenizeVerbatimMethodBody

public static Cons tokenizeVerbatimMethodBody(Cons tree)

cppTranslateInlineTree

public static Cons cppTranslateInlineTree(Cons tree)

cppTranslateSpecialTree

public static Cons cppTranslateSpecialTree(Cons tree)

cppTranslateVerbatimTree

public static Cons cppTranslateVerbatimTree(Cons tree)

cppTranslateListOfTrees

public static Cons cppTranslateListOfTrees(Cons trees)

cppOutputClassHeadDeclarations

public static void cppOutputClassHeadDeclarations(Cons classes)

prettyPrintDefinitionTree

public static void prettyPrintDefinitionTree(Cons tree,
                                             OutputStream stream)

prettyPrintStellaTree

public static void prettyPrintStellaTree(Cons tree,
                                         OutputStream stream)

describeEvaluatorWrapper

public static void describeEvaluatorWrapper(Cons arguments)

getEvaluatorWrapper

public static Stella_Object getEvaluatorWrapper(Cons arguments)

startupNamesFromFiles

public static Cons startupNamesFromFiles(Cons files)

compileAndLoadFiles

public static boolean compileAndLoadFiles(Cons files,
                                          Keyword language,
                                          boolean forcerecompilationP)

filesPlusSystemStartup

public static Cons filesPlusSystemStartup(Cons files)

makeSystemEvaluatorWrapper

public static BooleanWrapper makeSystemEvaluatorWrapper(Cons arguments)

defsystemEvaluatorWrapper

public static SystemDefinition defsystemEvaluatorWrapper(Cons arguments)

parseListOfFilePaths

public static Cons parseListOfFilePaths(Cons files)

loadFileEvaluatorWrapper

public static void loadFileEvaluatorWrapper(Cons arguments)

helpTranslateSystem

public static boolean helpTranslateSystem(Cons files,
                                          boolean twopassP,
                                          boolean forcetranslationP)

handleInModuleTree

public static boolean handleInModuleTree(Cons tree,
                                         boolean seeninmoduleP,
                                         java.lang.Object[] MV_returnarray)

composeNamestringFull

public 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.

Parameters:
strings -
prefix -
suffix -
outputcase -
outputseparator -
translationtable -
useacronymheuristicsP -
Returns:
String

composeNamestring

public static java.lang.String composeNamestring(Cons nameComponents,
                                                 Cons options)
nameComponents is a cons to be processed into a namestring. ':prefix' and ':suffix' are strings that will NOT be case-converted. ':case' is one of :UPCASE :TitleCase :titleCaseX :downcase :Capitalize default is :TitleCase ':separator' is a string that should separate word elements. It does not separate the prefix or suffix. Default is "" ':translation-table' should be a STRING-HASH-TABLE hash table that strings into their desired printed representation as a string. In general the argument will be strings, but that is not strictly necessary.

Parameters:
nameComponents -
options -
Returns:
String

inPlaceNormalizeDemonOptions

public static void inPlaceNormalizeDemonOptions(Cons optionstree)

destructureDefdemonBody

public static Cons destructureDefdemonBody(Cons demontree,
                                           java.lang.Object[] MV_returnarray)

memoize

public static Stella_Object memoize(Cons inputargs,
                                    Cons body)
Compute the value of an expression and memoize it relative to the values of inputargs. inputargs should characterize the complete set of values upon which the computation of the result depended. Calls to memoize should be of the form

(memoize (<arg>+) {:<option> <value>}* <expression>)

and have the status of an expression. The following options are supported:

:timestamps A single or list of keywords specifying the names of timestamps which when bumped should invalidate all entries currently memoized in this table. :name Names the memoization table so it can be shared by other memoization sites. By default, a gensymed name is used. CAUTION: IT IS ASSUMED THAT ALL ENTRIES IN A MEMOZATION TABLE DEPEND ON THE SAME NUMBER OF ARGUMENTS!! :max-values The maximum number of values to be memoized. Only the CmaxValues most recently used values will be kept in the memoization table, older values will be discarded and recomputed if needed. Without a CmaxValues specification, the memoization table will grow indefinitely.

PERFORMANCE NOTES: For most efficient lookup, input arguments that vary the most should be listed first. Also, arguments of type STANDARD-OBJECT (and all its subtypes) can be memoized more efficiently than arguments of type OBJECT or wrapped literals (with the exception of BOOLEANs).

Parameters:
inputargs -
body -
Returns:
Stella_Object

parseMemoizeOptions

public static PropertyList parseMemoizeOptions(Cons options)

findMemoizedValueEntryn

public static Cons findMemoizedValueEntryn(Cons bucket,
                                           Cons tuple,
                                           int eqvector,
                                           boolean deleteentryP)

findMemoizedValueEntry

public static Cons findMemoizedValueEntry(Cons bucket,
                                          Stella_Object arg1,
                                          Stella_Object arg2,
                                          Stella_Object arg3,
                                          Stella_Object arg4,
                                          int eqvector,
                                          boolean deleteentryP)

hashMemoizedArgumentsn

public static int hashMemoizedArgumentsn(Cons tuple,
                                         int eqvector)

defmain

public static Stella_Object defmain(Cons varlist,
                                    Cons body)
Defines a function called MAIN which will have the appropriate signature for the target translation language. The signature will be: C++: public static int main (int v1, char** v2) {<body>} Java: public static void main (String [] v2) {<body>} Lisp: (defun main (&rest args) <body>) The argument varlist must have two symbols, which will be the names for the INTEGER argument count and an array of STRINGs with the argument values. It can also be empty to indicate that no command line arguments will be handled. The startup function for the containing system will automatically be called before body is executed unless the option :STARTUP-SYSTEM? was supplied as FALSE. There can only be one DEFMAIN per module.

Parameters:
varlist -
body -
Returns:
Stella_Object

ignore

public static Stella_Object ignore(Cons variables)
Ignore unused 'variables' with NoOp 'setq' statements.

Parameters:
variables -
Returns:
Stella_Object

withTransientObjects

public static Stella_Object withTransientObjects(Cons body)
Allocate 'transient' (as opposed to 'permanent') objects within the scope of this declaration. CAUTION: The default assumption is the allocation of permanent objects. The scope of withTransientObjects should be as small as possible, and the user has to make sure that code that wasn't explicitly written to account for transient objects will continue to work correctly.

Parameters:
body -
Returns:
Stella_Object

withPermanentObjects

public static Stella_Object withPermanentObjects(Cons body)
Allocate 'permanent' (as opposed to 'transient') objects within the scope of this declaration.

Parameters:
body -
Returns:
Stella_Object

collect

public static Stella_Object collect(Cons body)
Use a VRLET to collect values. Input can have one of the following forms: (collect <var> in <expression> [where <test> <var>]) (collect <collect-expression> foreach <var> in <expression> {as ...}* [where <test> <var>] [do ...]) The second form really accepts an arbitrary foreach expression following the foreach keyword.

Parameters:
body -
Returns:
Stella_Object

allDefinedP

public static Stella_Object allDefinedP(Cons forms)
Evaluate each of the forms in 'forms', and return TRUE if none of them are NULL.

Parameters:
forms -
Returns:
Stella_Object

firstDefined

public static Stella_Object firstDefined(Cons forms)
Return the result of the first form in forms whose value is defined or NULL otherwise.

Parameters:
forms -
Returns:
Stella_Object

pushf

public static Stella_Object pushf(Cons place,
                                  Stella_Object value)
Push 'value' onto the cons list 'place'.

Parameters:
place -
value -
Returns:
Stella_Object

xmlLookupAttribute

public static java.lang.String xmlLookupAttribute(Cons attributes,
                                                  java.lang.String name,
                                                  java.lang.String namespace)
Find the XML attribute in attributes with name and namespace and return its value. Note that it is assumed that all attributes come from the same known tag, hence, the parent elements of any local attributes are not considered by the lookup.

Parameters:
attributes -
name -
namespace -
Returns:
String

getXmlCdataContent

public static java.lang.String getXmlCdataContent(Cons form)
Return the CDATA content of a CDATA form. Does NOT make sure that form actually is a CDATA form, so bad things can happen if it is given wrong input.

Parameters:
form -
Returns:
String

getXmlContent

public static Cons getXmlContent(Cons expression)
Return the list of content elements of an XML expression (may be empty).

Parameters:
expression -
Returns:
Cons

getXmlAttributes

public static Cons getXmlAttributes(Cons expression)
Return the list of attributes of an XML expression (may be empty).

Parameters:
expression -
Returns:
Cons

getXmlTag

public static XmlElement getXmlTag(Cons expression)
Return the XML tag object of an XML expression.

Parameters:
expression -
Returns:
XmlElement

xmlRegionMatchesP

public static boolean xmlRegionMatchesP(Cons regionspec,
                                        Cons regiontag)

processAttributeList

public static Cons processAttributeList(Cons reverseattributelist,
                                        XmlElement element,
                                        KvCons namespaceTable)

processDoctype

public static XmlDoctype processDoctype(Cons doctypeDeclaration)
Takes an S-Expression representing a doctype and processes into a DOCTYPE object.

Parameters:
doctypeDeclaration -
Returns:
XmlDoctype

getQualifiedSymbolSeparatorPosition

public static Stella_Object getQualifiedSymbolSeparatorPosition(Cons escapemode)

getNextStellaToken

public static Stella_Object getNextStellaToken(Cons options)

getNextToken

public static Stella_Object getNextToken(Cons options)

getTokenText

public static Stella_Object getTokenText(Cons options)

parseTokenizerDefinition

public static TokenizerTable parseTokenizerDefinition(Cons definition)

cccEvaluatorWrapper

public static Context cccEvaluatorWrapper(Cons arguments)

ccEvaluatorWrapper

public static Context ccEvaluatorWrapper(Cons arguments)

clearModuleEvaluatorWrapper

public static void clearModuleEvaluatorWrapper(Cons arguments)

callClearModuleEvaluatorWrapper

public static void callClearModuleEvaluatorWrapper(Cons arguments)

listModulesEvaluatorWrapper

public static Cons listModulesEvaluatorWrapper(Cons arguments)

defmoduleEvaluatorWrapper

public static void defmoduleEvaluatorWrapper(Cons arguments)

yieldDownCastTree

public static Cons yieldDownCastTree(Cons tree,
                                     StandardObject returntype)

clCompileAndLoadFiles

public static boolean clCompileAndLoadFiles(Cons files,
                                            boolean relativeP,
                                            boolean forcerecompilationP)

clYieldDeclareTree

public static Cons clYieldDeclareTree(Cons declarations,
                                      boolean includeTypeChecksP)

clYieldLetVariableTypeDeclarationTrees

public static Cons clYieldLetVariableTypeDeclarationTrees(Cons bindingstree)

clTranslateInlineTree

public static Cons clTranslateInlineTree(Cons tree)

clTranslateVerbatimTree

public static Stella_Object clTranslateVerbatimTree(Cons tree)

clTranslateTheCodeTree

public static Cons clTranslateTheCodeTree(Cons tree)

clTranslateInlineCallTree

public static Stella_Object clTranslateInlineCallTree(Cons tree)

clTranslateCallFunctionCodeTree

public static Cons clTranslateCallFunctionCodeTree(Cons tree)

clTranslatePrintStreamTree

public static Cons clTranslatePrintStreamTree(Cons tree)

yieldPrintTree

public static Cons yieldPrintTree(Cons tree)

yieldFormatArguments

public static Cons yieldFormatArguments(Cons tree)

clTranslateOperatorTree

public static Cons clTranslateOperatorTree(Cons tree)

clTranslateNewArrayTree

public static Cons clTranslateNewArrayTree(Cons tree)

clTranslateNewTree

public static Cons clTranslateNewTree(Cons tree)

clTranslateMakeTree

public static Cons clTranslateMakeTree(Cons tree)

clTranslateBooleanTree

public static Cons clTranslateBooleanTree(Cons tree)

clTranslateCaseTree

public static Cons clTranslateCaseTree(Cons tree)

clTranslateCondTree

public static Cons clTranslateCondTree(Cons tree)

clTranslateConditionalTree

public static Cons clTranslateConditionalTree(Cons tree)

clTranslateWhileTree

public static Cons clTranslateWhileTree(Cons tree)

clTranslateReturnTree

public static Stella_Object clTranslateReturnTree(Cons tree)

clTranslateCastTree

public static Stella_Object clTranslateCastTree(Cons tree)

clTranslateHandleExceptionTree

public static Cons clTranslateHandleExceptionTree(Cons tree)

clTranslateHandlerCaseTree

public static Cons clTranslateHandlerCaseTree(Cons tree)

clTranslateSignalTree

public static Cons clTranslateSignalTree(Cons tree)

clTranslateUnwindProtectTree

public static Cons clTranslateUnwindProtectTree(Cons tree)

clTranslateStartupTimePrognTree

public static Cons clTranslateStartupTimePrognTree(Cons tree)

clTranslateSpecialTree

public static Cons clTranslateSpecialTree(Cons tree)

clTranslateLetTree

public static Cons clTranslateLetTree(Cons tree,
                                      boolean specialP)

maybeWrapWithContinueLabel

public static Cons maybeWrapWithContinueLabel(Cons translatedloopbody)

clTranslateForeachTree

public static Cons clTranslateForeachTree(Cons tree)

clTranslateArgumentListTree

public static Stella_Object clTranslateArgumentListTree(Cons tree)

clTranslateArefTree

public static Cons clTranslateArefTree(Cons tree)

clTranslateNthTree

public static Cons clTranslateNthTree(Cons tree)

clTranslateCallMethodTree

public static Stella_Object clTranslateCallMethodTree(Cons tree)

clTranslateFixedSlotValueSetterTree

public static Cons clTranslateFixedSlotValueSetterTree(Cons tree)

clTranslateFixedSlotValueTree

public static Cons clTranslateFixedSlotValueTree(Cons tree)

clTranslateSetqTree

public static Cons clTranslateSetqTree(Cons tree)

clTranslateBadSys

public static Stella_Object clTranslateBadSys(Cons tree)

clTranslateTypedSys

public static Stella_Object clTranslateTypedSys(Cons tree)

clTranslateVoidSys

public static Cons clTranslateVoidSys(Cons tree)

clTranslateListOfTrees

public static Cons clTranslateListOfTrees(Cons trees)

destructureCallTree

public static Symbol destructureCallTree(Cons tree,
                                         java.lang.Object[] MV_returnarray)

evaluateConsTree

public static Stella_Object evaluateConsTree(Cons tree,
                                             java.lang.Object[] MV_returnarray)

deUglifyArguments

public static Cons deUglifyArguments(Cons uglyarguments)

walkTheCodeTree

public static Cons walkTheCodeTree(Cons tree,
                                   java.lang.Object[] MV_returnarray)

walkFuncallTree

public static Cons walkFuncallTree(Cons tree,
                                   java.lang.Object[] MV_returnarray)

walkMakeTree

public static Cons walkMakeTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkNewTree

public static Cons walkNewTree(Cons tree,
                               java.lang.Object[] MV_returnarray)

yieldNewArgumentsTree

public static Cons yieldNewArgumentsTree(Cons keywordsandvalues,
                                         StandardObject classtype,
                                         Symbol selfvariable,
                                         java.lang.Object[] MV_returnarray)

walkDefmoduleTree

public static void walkDefmoduleTree(Cons tree)

lookupVerbatimTree

public static Stella_Object lookupVerbatimTree(Cons tree,
                                               Keyword language)

walkVerbatimTree

public static Stella_Object walkVerbatimTree(Cons tree,
                                             java.lang.Object[] MV_returnarray)

walkVerbatimDefinitionTree

public static void walkVerbatimDefinitionTree(Cons tree)

walkUnwindProtectTree

public static Cons walkUnwindProtectTree(Cons tree,
                                         java.lang.Object[] MV_returnarray)

walkExceptionHandlerTrees

public static Cons walkExceptionHandlerTrees(Cons tree)

walkExceptionCaseTree

public static Cons walkExceptionCaseTree(Cons tree,
                                         java.lang.Object[] MV_returnarray)

walkSignalExceptionTree

public static Cons walkSignalExceptionTree(Cons tree,
                                           java.lang.Object[] MV_returnarray)

extractStartupTimePhase

public static Keyword extractStartupTimePhase(Cons tree)

walkStartupTimePrognTree

public static void walkStartupTimePrognTree(Cons tree)

walkDeftypeTree

public static void walkDeftypeTree(Cons tree)

walkDefglobalTree

public static void walkDefglobalTree(Cons tree)

walkDefmacroTree

public static void walkDefmacroTree(Cons tree)

walkDefslotTree

public static void walkDefslotTree(Cons tree)

walkDefclassTree

public static void walkDefclassTree(Cons tree)

walkSysCallTree

public static Cons walkSysCallTree(Cons tree,
                                   java.lang.Object[] MV_returnarray)

walkDefmethodTree

public static void walkDefmethodTree(Cons tree)

walkCallSlotTree

public static Stella_Object walkCallSlotTree(Cons tree,
                                             java.lang.Object[] MV_returnarray)

walkVariableArguments

public static Cons walkVariableArguments(Cons arguments,
                                         MethodSlot method)

yieldListifiedVariableArguments

public static Cons yieldListifiedVariableArguments(Cons walkedargs,
                                                   StandardObject targettype,
                                                   boolean wrapargsP)

walkSlotOnAbstractTypeTree

public static Cons walkSlotOnAbstractTypeTree(Cons tree,
                                              Surrogate abstracttype,
                                              java.lang.Object[] MV_returnarray)

walkUndefinedSlotTree

public static Cons walkUndefinedSlotTree(Cons tree,
                                         StandardObject firstargtype,
                                         boolean warnP,
                                         java.lang.Object[] MV_returnarray)

walkPrintStreamTree

public static Cons walkPrintStreamTree(Cons tree,
                                       java.lang.Object[] MV_returnarray)

walkMacroTree

public static Stella_Object walkMacroTree(Cons tree,
                                          java.lang.Object[] MV_returnarray)

expandMacro

public static Stella_Object expandMacro(Cons tree)

walkBquoteTree

public static Stella_Object walkBquoteTree(Cons tree,
                                           java.lang.Object[] MV_returnarray)

walkQuotedTree

public static Stella_Object walkQuotedTree(Cons tree,
                                           java.lang.Object[] MV_returnarray)

walkArithmeticTree

public static Stella_Object walkArithmeticTree(Cons tree,
                                               java.lang.Object[] MV_returnarray)

walkEqualityTree

public static Stella_Object walkEqualityTree(Cons tree,
                                             java.lang.Object[] MV_returnarray)

finishWalkingEqualTree

public static Cons finishWalkingEqualTree(Cons tree,
                                          Surrogate type1,
                                          Surrogate type2,
                                          java.lang.Object[] MV_returnarray)

finishWalkingEqlTree

public static Cons finishWalkingEqlTree(Cons tree,
                                        Surrogate type1,
                                        Surrogate type2,
                                        java.lang.Object[] MV_returnarray)

walkWithProcessLockTree

public static Cons walkWithProcessLockTree(Cons tree,
                                           java.lang.Object[] MV_returnarray)

walkTypecaseTree

public static Cons walkTypecaseTree(Cons tree,
                                    java.lang.Object[] MV_returnarray)

walkCaseTree

public static Cons walkCaseTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkNonBuiltInCaseTree

public static Cons walkNonBuiltInCaseTree(Cons tree,
                                          Symbol equalitytest,
                                          java.lang.Object[] MV_returnarray)

attachUnhandledCaseErrorClause

public static Cons attachUnhandledCaseErrorClause(Cons casetree,
                                                  Stella_Object testtree)

countCaseTestClauses

public static int countCaseTestClauses(Cons tree,
                                       java.lang.Object[] MV_returnarray)

walkHardcodedSymbolCaseTree

public static Cons walkHardcodedSymbolCaseTree(Cons tree,
                                               java.lang.Object[] MV_returnarray)

condTreeToIfTree

public static Cons condTreeToIfTree(Cons tree)

walkCondTree

public static Cons walkCondTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

helpWalkBooleanTree

public static Stella_Object helpWalkBooleanTree(Cons tree)

walkBooleanTree

public static Stella_Object walkBooleanTree(Cons tree,
                                            java.lang.Object[] MV_returnarray)

walkChooseTree

public static Cons walkChooseTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkConditionalTree

public static Cons walkConditionalTree(Cons tree,
                                       java.lang.Object[] MV_returnarray)

walkWhileTree

public static Cons walkWhileTree(Cons tree,
                                 java.lang.Object[] MV_returnarray)

walkLoopExitTree

public static Cons walkLoopExitTree(Cons tree,
                                    java.lang.Object[] MV_returnarray)

walkLoopTree

public static Cons walkLoopTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkMvBindTree

public static Cons walkMvBindTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkMvSetqTree

public static Cons walkMvSetqTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkReturnTree

public static Cons walkReturnTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkReturnAndUnbindSpecials

public static Cons walkReturnAndUnbindSpecials(Cons tree,
                                               java.lang.Object[] MV_returnarray)

walkMvValuesTree

public static Cons walkMvValuesTree(Cons tree,
                                    java.lang.Object[] MV_returnarray)

slotFromExpressionTree

public static Slot slotFromExpressionTree(Cons tree)

walkValuesTree

public static Cons walkValuesTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkCastTree

public static Cons walkCastTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkUnwindProtectSpecialTree

public static Cons walkUnwindProtectSpecialTree(Cons tree,
                                                java.lang.Object[] MV_returnarray)

walkClSpecialTree

public static Cons walkClSpecialTree(Cons tree,
                                     java.lang.Object[] MV_returnarray)

walkSpecialTree

public static Cons walkSpecialTree(Cons tree,
                                   java.lang.Object[] MV_returnarray)

walkLetTree

public static Cons walkLetTree(Cons tree,
                               java.lang.Object[] MV_returnarray)

popLocalVariableBindings

public static void popLocalVariableBindings(Cons declarations)

transformLetWithProceduralExpression

public static Cons transformLetWithProceduralExpression(Cons tree)

walkVariableDeclarations

public static Cons walkVariableDeclarations(Cons declarations)

walkArefTree

public static Cons walkArefTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkSlotValueSetterTree

public static Cons walkSlotValueSetterTree(Cons tree,
                                           java.lang.Object[] MV_returnarray)

walkSlotValueTree

public static Cons walkSlotValueTree(Cons tree,
                                     java.lang.Object[] MV_returnarray)

walkSetfTree

public static Cons walkSetfTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkSetqTree

public static Cons walkSetqTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

percolateOutVrletExpression

public static Cons percolateOutVrletExpression(Cons statement,
                                               Cons vrexpression,
                                               StandardObject type,
                                               java.lang.Object[] MV_returnarray)

transformProceduralExpression

public static Cons transformProceduralExpression(Cons statement,
                                                 Cons vrexpression,
                                                 StandardObject type,
                                                 java.lang.Object[] MV_returnarray)

percolateOutBooleanVrletExpressions

public static Cons percolateOutBooleanVrletExpressions(Cons booleanexpression)

transformBooleanProceduralExpression

public static Cons transformBooleanProceduralExpression(Cons statement,
                                                        Cons vrexpression,
                                                        java.lang.Object[] MV_returnarray)

transformVrletExpression

public static Cons transformVrletExpression(Cons statement,
                                            Cons vrexpression,
                                            java.lang.Object[] MV_returnarray)

walkAConsTree

public static Cons walkAConsTree(Cons tree,
                                 java.lang.Object[] MV_returnarray)

setTargetLanguageType

public static Cons setTargetLanguageType(Cons systree,
                                         Surrogate type,
                                         java.lang.Object[] MV_returnarray)

eliminateVrletStatement

public static Cons eliminateVrletStatement(Cons tree)

walkListOfStatements

public static Cons walkListOfStatements(Cons trees)

walkListOfTrees

public static Cons walkListOfTrees(Cons trees)

optimizeProgn

public static Stella_Object optimizeProgn(Cons prognTree)

prognify

public static Stella_Object prognify(Cons trees)

badArgumentCountP

public static boolean badArgumentCountP(Cons tree,
                                        int arity)

badArgumentRangeP

public static boolean badArgumentRangeP(Cons tree,
                                        int minarity,
                                        int maxarity)

setCallLogBreakPointEvaluatorWrapper

public static void setCallLogBreakPointEvaluatorWrapper(Cons arguments)

startFunctionCallLoggingEvaluatorWrapper

public static void startFunctionCallLoggingEvaluatorWrapper(Cons arguments)

helpWalkAuxiliaryTree

public static TranslationUnit helpWalkAuxiliaryTree(Cons tree,
                                                    boolean finalizeP)

walkAuxiliaryTree

public static void walkAuxiliaryTree(Cons tree)

walkTopLevelTree

public static void walkTopLevelTree(Cons tree,
                                    boolean createannotationP)

createAnnotation

public static java.lang.String createAnnotation(Cons topLevelTree)

declarationTreeP

public static boolean declarationTreeP(Cons tree)

nameQuotedTree

public static java.lang.String nameQuotedTree(Cons tree)

dropTraceEvaluatorWrapper

public static List dropTraceEvaluatorWrapper(Cons arguments)

addTraceEvaluatorWrapper

public static List addTraceEvaluatorWrapper(Cons arguments)

unsetStellaFeatureEvaluatorWrapper

public static void unsetStellaFeatureEvaluatorWrapper(Cons arguments)

setStellaFeatureEvaluatorWrapper

public static void setStellaFeatureEvaluatorWrapper(Cons arguments)

walkSomeTree

public static Cons walkSomeTree(Cons tree,
                                java.lang.Object[] MV_returnarray)

walkForallTree

public static Cons walkForallTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkExistsTree

public static Cons walkExistsTree(Cons tree,
                                  java.lang.Object[] MV_returnarray)

walkPrefixForeachTree

public static Cons walkPrefixForeachTree(Cons tree,
                                         java.lang.Object[] MV_returnarray)

walkPrefixForeachBody

public static Cons walkPrefixForeachBody(Cons iteratorclauses,
                                         Stella_Object wheretest,
                                         Cons doactions)

walkPrefixCollectIntoTree

public static Cons walkPrefixCollectIntoTree(Cons collectintotree,
                                             Cons iterators,
                                             Cons docode,
                                             java.lang.Object[] MV_returnarray)

walkCursorsTree

public static Cons walkCursorsTree(Cons cursorstree,
                                   boolean dontoptimizeP,
                                   java.lang.Object[] MV_returnarray)

collectCursorClauses

public static Cons collectCursorClauses(Cons cursorstree,
                                        boolean dontoptimizeP,
                                        java.lang.Object[] MV_returnarray)

yieldOnCursorClauses

public static Cons yieldOnCursorClauses(Cons ontree,
                                        java.lang.Object[] MV_returnarray)

yieldOptimizedInCursorClausesForIntegerInterval

public static Cons yieldOptimizedInCursorClausesForIntegerInterval(Cons collectiontree,
                                                                   StandardObject collectiontype,
                                                                   Symbol keyvar,
                                                                   Symbol valuevar,
                                                                   java.lang.Object[] MV_returnarray)

yieldInCursorClausesForIntegerInterval

public static Cons yieldInCursorClausesForIntegerInterval(Cons collectiontree,
                                                          StandardObject collectiontype,
                                                          Symbol keyvar,
                                                          Symbol valuevar,
                                                          java.lang.Object[] MV_returnarray)

yieldInCursorClauses

public static Cons yieldInCursorClauses(Cons intree,
                                        boolean dontoptimizeP,
                                        java.lang.Object[] MV_returnarray)

walkForeachTree

public static Cons walkForeachTree(Cons tree,
                                   java.lang.Object[] MV_returnarray)

foreachToPrefixForeachTree

public static Cons foreachToPrefixForeachTree(Cons foreachtree)

extractDoClause

public static Cons extractDoClause(Cons tail,
                                   java.lang.Object[] MV_returnarray)

extractGeneratorsClause

public static Cons extractGeneratorsClause(Cons tail,
                                           java.lang.Object[] MV_returnarray)

extractOneGeneratorTerm

public static Cons extractOneGeneratorTerm(Cons tail,
                                           java.lang.Object[] MV_returnarray)

extractOneInClause

public static Cons extractOneInClause(Cons tail,
                                      java.lang.Object[] MV_returnarray)

defineExternalSlotFromParseTree

public static StorageSlot defineExternalSlotFromParseTree(Cons parsetree)

stringifyMethodSignature

public static java.lang.String stringifyMethodSignature(Cons parsetree)

defineMethodFromParseTree

public static MethodSlot defineMethodFromParseTree(Cons parsetree)

helpDefineMethodFromParseTree

public static MethodSlot helpDefineMethodFromParseTree(Cons inputtree,
                                                       java.lang.String stringifiedsource,
                                                       java.lang.Object[] MV_returnarray)

destructureDefmethodTree

public 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. Fill optionsTable with a dictionary of method options. Storage note: Options are treated specially because the other return values are subtrees of methodTree, while optionsTable is a newly-created cons tree. Note also, the parameter and body trees are destructively removed from methodTree.

Parameters:
methodTree -
optionsTable -
MV_returnarray -
Returns:
Stella_Object

extractOptions

public static Cons extractOptions(Cons tree,
                                  KeyValueList optionstable)

defineClassFromParseTree

public static Stella_Class defineClassFromParseTree(Cons parsetree)

defineStorageSlotFromParseTree

public static StorageSlot defineStorageSlotFromParseTree(Cons slotdef,
                                                         Surrogate owner)

helpDefineClassFromParseTree

public static Stella_Class helpDefineClassFromParseTree(Cons parsetree,
                                                        java.lang.String stringifiedsource)

setTimeValues

public static void setTimeValues(Cons stringForm,
                                 DecodedDateTime parsedValues,
                                 DecodedDateTime defaultValues)

matchPattern

public static Cons matchPattern(Cons pattern,
                                Cons datum,
                                int datumLength)

defineStellaTypeFromParseTree

public static Surrogate defineStellaTypeFromParseTree(Cons tree)

defineStellaGlobalVariableFromParseTree

public static GlobalVariable defineStellaGlobalVariableFromParseTree(Cons tree,
                                                                     java.lang.String stringifiedsource,
                                                                     java.lang.Object[] MV_returnarray)

yieldAnchoredTypeSpecifier

public static AnchoredTypeSpecifier yieldAnchoredTypeSpecifier(Cons typespectree)

yieldParametricTypeSpecifier

public static ParametricTypeSpecifier yieldParametricTypeSpecifier(Cons typespectree)

yieldTypeSpecifier

public StandardObject yieldTypeSpecifier()
Overrides:
yieldTypeSpecifier in class Stella_Object

printUnboundSurrogatesEvaluatorWrapper

public static void printUnboundSurrogatesEvaluatorWrapper(Cons arguments)

inPlaceObjectsToTypes

public static void inPlaceObjectsToTypes(Cons conslist)

inPlaceObjectsToSymbols

public static void inPlaceObjectsToSymbols(Cons conslist)

removeShadowedSymbols

public static Cons removeShadowedSymbols(Cons visiblesymbols)

allocateDestructiveListIterator

public Iterator allocateDestructiveListIterator()

listify

public List listify()
Return a list of elements in self.

Returns:
List

searchPlist

public static Stella_Object searchPlist(Cons plist,
                                        Stella_Object key)

safeTreeSize

public static int safeTreeSize(Cons tree,
                               java.lang.Object[] MV_returnarray)

safelyComputeTreeSize

public static int safelyComputeTreeSize(Cons tree,
                                        int depthcount,
                                        int cutoff)

pprintCons

public static void pprintCons(Cons tree,
                              java.io.PrintStream stream,
                              java.lang.String lparen,
                              java.lang.String rparen)

printCons

public static void printCons(Cons tree,
                             java.io.PrintStream stream,
                             java.lang.String lparen,
                             java.lang.String rparen)

consTreeNthRest

public static Cons consTreeNthRest(Cons tree,
                                   Cons index)
Access an arbitrary sublist of tree identified by a path specified as a list of index values. The first index specifies the index-th element of tree, the second index the index-th subelement of that element, ..., the last index specifies the nthRest of the previous element (different from consTreeNth). Example: (cons-tree-nth-rest (quote (a (b (c d e) f) g)) 1 1 1) => (d e)

Parameters:
tree -
index -
Returns:
Cons

consTreeNth

public 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. The first index specifies the index-th element of tree, the second index the index-th subelement of that element, etc. Example: (cons-tree-nth (quote (a (b (c d e) f) g)) 1 1 2) => e

Parameters:
tree -
index -
Returns:
Stella_Object

equalHashCode

public int equalHashCode()
Return an equalP hash code for self. Note that this is O(N) in the number of elements of self.

Overrides:
equalHashCode in class Stella_Object
Returns:
int

objectEqualP

public boolean objectEqualP(Stella_Object tree2)
Return true iff the cons trees tree1 and tree2 are structurally equivalent. Uses equalP to test equality of subtrees.

Overrides:
objectEqualP in class Stella_Object
Parameters:
tree2 -
Returns:
boolean

sortTuples

public Cons sortTuples(int n,
                       java.lang.reflect.Method predicate)
Just like sort but assumes each element of self is a tuple (a cons) whose n-th element (0-based) will be used for comparison.

Parameters:
n -
predicate -
Returns:
Cons

sortTupleCompareP

public static boolean sortTupleCompareP(Cons x,
                                        Cons y)

chooseSortPredicate

public static java.lang.reflect.Method chooseSortPredicate(Cons self)

mergeConsLists

public static Cons mergeConsLists(Cons list1,
                                  Cons list2,
                                  java.lang.reflect.Method predicate)

helpSortConsList

public static Cons helpSortConsList(Cons list,
                                    int length,
                                    java.lang.reflect.Method predicate)

sort

public Cons sort(java.lang.reflect.Method predicate)
Perform a stable, destructive sort of self according to predicate, and return the result. If predicate has a '<' semantics, the result will be in ascending order. It is not guaranteed that self will point to the beginning of the sorted result. If predicate is null, a suitable '<' predicate is chosen depending on the first element of self, and it is assumed that all elements of self have the same type (supported element types are GENERALIZED-SYMBOL, STRING, INTEGER, and FLOAT).

Parameters:
predicate -
Returns:
Cons

subtract

public Cons subtract(Cons otherlist)
Return the set difference of self and otherlist by destructively removing elements from self that also occur in otherlist. Uses an eqlP test and a simple quadratic-time algorithm. Note that the result is only guaranteed to be a set if self is a set.

Parameters:
otherlist -
Returns:
Cons

difference

public Cons difference(Cons otherlist)
Return the set difference of self and otherlist (i.e., all elements that are in self but not in otherSet). Uses an eqlP test and a simple quadratic-time algorithm. Note that the result is only guaranteed to be a set if both self and otherlist are sets.

Parameters:
otherlist -
Returns:
Cons

union

public Cons union(Cons otherlist)
Return the set union of self and otherlist. Uses an eqlP test and a simple quadratic-time algorithm. Note that the result is only guaranteed to be a set if both self and otherlist are sets.

Parameters:
otherlist -
Returns:
Cons

intersection

public Cons intersection(Cons otherlist)
Return the set intersection of self and otherlist. Uses an eqlP test and a simple quadratic-time algorithm. Note that the result is only guaranteed to be a set if both self and otherlist are sets.

Parameters:
otherlist -
Returns:
Cons

equivalentSetsP

public boolean equivalentSetsP(Cons otherlist)
Return true if every element of self occurs in otherlist and vice versa. Uses an eqlP test and a simple quadratic-time algorithm. Note that this does not check whether self and otherlist actually are sets.

Parameters:
otherlist -
Returns:
boolean

subsetP

public boolean subsetP(Cons otherlist)
Return true if every element of self also occurs in otherlist. Uses an eqlP test and a simple quadratic-time algorithm. Note that this does not check whether self and otherlist actually are sets.

Parameters:
otherlist -
Returns:
boolean

append

public static Cons append(Cons conslist1,
                          Cons conslist2)
Return a cons list representing the concatenation of conslist1 and conslist2. The concatenation is NOT destructive.

Parameters:
conslist1 -
conslist2 -
Returns:
Cons

copyConsList

public static Cons copyConsList(Cons self)
Return a copy of the cons list self.

Parameters:
self -
Returns:
Cons

removeDeletedMembers

public Cons removeDeletedMembers()

consify

public Cons consify()
Return self.

Overrides:
consify in class Stella_Object
Returns:
Cons

butLast

public Iterator butLast()
Generate all but the last element of the cons list self.

Returns:
Iterator

addConsToEndOfConsList

public static void addConsToEndOfConsList(Cons self,
                                          Cons lastcons)

allocateIterator

public ConsIterator allocateIterator()

nthRestSetter

public Stella_Object nthRestSetter(Stella_Object value,
                                   int position)

fifthSetter

public Stella_Object fifthSetter(Stella_Object value)

fourthSetter

public Stella_Object fourthSetter(Stella_Object value)

nthSetter

public Stella_Object nthSetter(Stella_Object value,
                               int position)

thirdSetter

public Stella_Object thirdSetter(Stella_Object value)

secondSetter

public Stella_Object secondSetter(Stella_Object value)

firstSetter

public Stella_Object firstSetter(Stella_Object value)

last

public Stella_Object last()
Return the last element of self.

Returns:
Stella_Object

lastCons

public static Cons lastCons(Cons self)
Return the last cons of self.

Parameters:
self -
Returns:
Cons

nthRest

public Cons nthRest(int position)
Apply rest position times to self.

Parameters:
position -
Returns:
Cons

nth

public Stella_Object nth(int position)
Return the element of self at position. The nth element of self can be set with setf. Note, that '(nth NIL <pos>)' = null.

Parameters:
position -
Returns:
Stella_Object

fifth

public Stella_Object fifth()
Return the fifth element of self. The fifth element of self can be set with setf. Note, that '(fifth NIL)' = null.

Returns:
Stella_Object

fourth

public Stella_Object fourth()
Return the fourth element of self. The fourth element of self can be set with setf. Note that '(fourth NIL)' = null.

Returns:
Stella_Object

third

public Stella_Object third()
Return the third element of self. The third element of self can be set with setf. Note that '(third NIL)' = null.

Returns:
Stella_Object

second

public Stella_Object second()
Return the second element of self. The second element of self can be set with setf. Note that '(second NIL)' = null.

Returns:
Stella_Object

first

public Stella_Object first()
Return the first element of self. The first element of self can be set with setf. Note that '(first NIL)' = null.

Returns:
Stella_Object

mapNullToNil

public static Cons mapNullToNil(Cons self)
Return nil iff self is null or self otherwise.

Parameters:
self -
Returns:
Cons

substitute

public Cons substitute(Stella_Object invalue,
                       Stella_Object outvalue)
Destructively replace each appearance of outvalue by invalue in the cons list self.

Parameters:
invalue -
outvalue -
Returns:
Cons

reverse

public Cons reverse()
Destructively reverse the members of the cons list self.

Returns:
Cons

prepend

public Cons prepend(Cons list1)
Return a cons list consisting of the concatenation of list1 and self. A copy of list1 is prepended to self. This operation results in structure sharing of self; to avoid this, self should not be pointed to by anything other than the tail of the prepended copy.

Parameters:
list1 -
Returns:
Cons

concatenate

public Cons concatenate(Cons list2,
                        Cons otherlists)
Return a cons list consisting of the concatenation of list1, list2, and otherlists. The operation is destructive wrt all but the last list argument which is left intact. The two mandatory parameters allow us to optimize the common binary case by not relying on the somewhat less efficient variable arguments mechanism.

Parameters:
list2 -
otherlists -
Returns:
Cons

removeDuplicatesFromLongList

public static Cons removeDuplicatesFromLongList(Cons self)

removeDuplicates

public Cons removeDuplicates()
Destructively remove duplicates from self and return the result. Removes all but the first occurrence of items in the list. Preserves the original order of the remaining members. Runs in linear time.

Returns:
Cons

removeIf

public Cons removeIf(java.lang.reflect.Method testP)
Destructively removes all members of the cons list self for which testP evaluates to true. test takes a single argument of type OBJECT and returns true or false. Returns a cons list. In case the first element is removed, the return result should be assigned to a variable.

Parameters:
testP -
Returns:
Cons

remove

public Cons remove(Stella_Object value)
Destructively remove all entries in the cons list self that match value. Unless the remaining list is nil, insure that the cons that heads the list is unchanged.

Parameters:
value -
Returns:
Cons

membP

public boolean membP(Stella_Object renamed_Object)
Return true iff renamed_Object is a member of the cons list self (uses an eqP test).

Parameters:
renamed_Object -
Returns:
boolean

memberP

public boolean memberP(Stella_Object renamed_Object)
Return true iff renamed_Object is a member of the cons list self (uses an eqlP test).

Parameters:
renamed_Object -
Returns:
boolean

lastPosition

public int lastPosition(Stella_Object renamed_Object,
                        int end)
Return the position of renamed_Object within the cons-list self (counting from zero); or return null if renamed_Object does not occur within self (uses an eqlP test). If start was supplied as non-null, only consider the sublist ending at end, however, the returned position will always be relative to the entire list.

Parameters:
renamed_Object -
end -
Returns:
int

position

public int position(Stella_Object renamed_Object,
                    int start)
Return the position of renamed_Object within the cons-list self (counting from zero); or return null if renamed_Object does not occur within self (uses an eqlP test). If start was supplied as non-null, only consider the sublist starting at start, however, the returned position will always be relative to the entire list.

Parameters:
renamed_Object -
start -
Returns:
int

length

public int length()
Return the length of the CONS list self.

Returns:
int

nonEmptyP

public boolean nonEmptyP()
Return true iff self is not equal to nil.

Returns:
boolean

emptyP

public boolean emptyP()
Return true iff self equals nil.

Returns:
boolean

base60ToFloat

public static double base60ToFloat(Cons l)
Converts (x y z) into a float. The return value is x + y/60 + z/3600. This can be used to convert from Degree-Minute-Second to decimal degrees or from Hour-Minute-Second format to decimal hours.

Parameters:
l -
Returns:
double

withXmlTag

public static Stella_Object withXmlTag(Cons tagAndStream,
                                       Cons body)

withHtmlTag

public static Stella_Object withHtmlTag(Cons tagAndStream,
                                        Cons body)

expandMarkupTagFunction

public static Cons expandMarkupTagFunction(Cons tagAndStream,
                                           Cons body,
                                           boolean xmlP)

withNetworkStream

public static Stella_Object withNetworkStream(Cons binding,
                                              Cons body)
Sets up an unwind-protected form which opens a network socket stream to a host and port for input and output and closes it afterwards. Separate variables as provided in the call are bound to the input and output streams. Syntax is (WITH-NETWORK-STREAM (varIn varOut hostname port) body+)

Parameters:
binding -
body -
Returns:
Stella_Object

withOutputFile

public static Stella_Object withOutputFile(Cons binding,
                                           Cons body)
Sets up an unwind-protected form which opens a file for output and closes it afterwards. The stream for writing is bound to the variable provided in the macro form. Syntax is _WITH_OUTPUT_FILE__var_filename_options$__bodyI_ where options can be any that are legal for openOutputFile (which see).

Parameters:
binding -
body -
Returns:
Stella_Object

withInputFile

public static Stella_Object withInputFile(Cons binding,
                                          Cons body)
Sets up an unwind-protected form which opens a file for input and closes it afterwards. The stream for reading is bound to the variable provided in the macro form. Syntax is _WITH_INPUT_FILE__var_filename_options$__bodyI_ where options can be any that are legal for openInputFile (which see).

Parameters:
binding -
body -
Returns:
Stella_Object

messageToString

public static Stella_Object messageToString(Cons body)

formatStringMessageArguments

public static Cons formatStringMessageArguments(Cons messagearguments,
                                                boolean trailingeolP)

evaluationError

public static Stella_Object evaluationError(Cons body)

walkWarn

public static Stella_Object walkWarn(Cons body)

walkInform

public static Stella_Object walkInform(Cons body)

walkError

public static Stella_Object walkError(Cons body)

formatWalkMessageArguments

public static Cons formatWalkMessageArguments(Cons messageargumentstree)

signalReadError

public static Stella_Object signalReadError(Cons body)
Specialized version of signal that throws a READ-EXCEPTION.

Parameters:
body -
Returns:
Stella_Object

continuableError

public static Stella_Object continuableError(Cons body)
Signal error message, placing non-string arguments in quotes.

Parameters:
body -
Returns:
Stella_Object

error

public static Stella_Object error(Cons body)
Signal error message, placing non-string arguments in quotes.

Parameters:
body -
Returns:
Stella_Object

warn

public static Stella_Object warn(Cons body)
Signal warning message, placing non-string arguments in quotes.

Parameters:
body -
Returns:
Stella_Object

inform

public static Stella_Object inform(Cons body)
Print informative message, placing non-string arguments in quotes, and terminating with a newline.

Parameters:
body -
Returns:
Stella_Object

printSpaces

public static Stella_Object printSpaces(Cons body)
(print-spaces [stream] N) prints N spaces onto stream. If no stream form is provided, then STANDARD-OUTPUT will be used.

Parameters:
body -
Returns:
Stella_Object

print

public static Stella_Object print(Cons body)
Print arguments to the standard output stream.

Parameters:
body -
Returns:
Stella_Object

formatMessageArguments

public static Cons formatMessageArguments(Cons messageargumentstree,
                                          boolean trailingeolP)

printObject

public void printObject(java.io.PrintStream stream)
Overrides:
printObject in class Stella_Object

accessConsSlotValue

public static Stella_Object accessConsSlotValue(Cons self,
                                                Symbol slotname,
                                                Stella_Object value,
                                                boolean setvalueP)

primaryType

public Surrogate primaryType()
Description copied from class: Stella_Object
Returns the primary type of self. Gets defined automatically for every non-abstract subclass of OBJECT.

Overrides:
primaryType in class Stella_Object
Returns:
Surrogate