|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.isi.stella.Stella_Object edu.isi.stella.StandardObject edu.isi.stella.ContextSensitiveObject edu.isi.stella.GeneralizedSymbol edu.isi.stella.Symbol
public class Symbol
Field Summary | |
---|---|
int |
symbolSlotOffset
|
Cons |
symbolValueAndPlist
|
Fields inherited from class edu.isi.stella.GeneralizedSymbol |
---|
symbolId, symbolName |
Fields inherited from class edu.isi.stella.ContextSensitiveObject |
---|
homeContext |
Constructor Summary | |
---|---|
Symbol()
|
Method Summary | |
---|---|
static Stella_Object |
accessSymbolSlotValue(Symbol self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
static int |
clStructSlotOffset(Symbol slotname,
Surrogate classtype)
|
Stella_Object |
clTranslateAtomicTree()
|
static Stella_Object |
clTranslateGlobalSymbol(Symbol symbol)
|
static Stella_Object |
clTranslateLocalSymbol(Symbol symbol)
|
static Cons |
clTranslateNormalCallMethodTree(Symbol operator,
Surrogate owner,
Cons arguments)
|
static Stella_Object |
coerceARestToCons(Symbol restvariable)
Coerce the argument list variable restvariable into a CONS
list containing all its elements (uses argument list iteration to do so). |
static Cons |
combineStartupFunctionUnits(Symbol startupfnname)
|
static boolean |
constantSymbolP(Symbol symbol)
|
static Symbol |
cppCreateOverloadedFunctionName(Symbol functionname,
Surrogate classtype)
|
static Symbol |
cppFixupNameSymbol(Symbol namesymbol,
Module homemodule)
|
static Cons |
cppLookupOperatorTable(Symbol operator)
|
static StringWrapper |
cppLookupReservedWordTable(Symbol word)
|
void |
cppOutputLiteral()
|
static Cons |
cppTranslateArefMethodCall(Symbol operator,
Surrogate owner,
Cons arguments)
|
static Cons |
cppTranslateArgumentListTree(Symbol operator,
Surrogate owner,
Stella_Object argument)
|
Cons |
cppTranslateAtomicTree()
|
static StringWrapper |
cppTranslateClassParameterName(Symbol namesymbol)
|
static StringWrapper |
cppTranslateFunctionNameFromName(Symbol functionname)
|
static Stella_Object |
cppTranslateFunctionParameter(Symbol name,
StandardObject type,
MethodSlot method)
|
static StringWrapper |
cppTranslateGlobalName(Symbol namesymbol)
|
static Cons |
cppTranslateHardcodedSymbolReference(Symbol operator,
int offset)
|
static StringWrapper |
cppTranslateMethodNameFromName(Symbol methodname,
StandardObject methodowner)
|
static StringWrapper |
cppTranslateName(Symbol namesymbol)
|
static Cons |
cppTranslateNormalMethodCall(Symbol methodname,
Surrogate owner,
Cons arguments,
boolean referencedP)
|
static Cons |
cppTranslateNthMethodCall(Symbol operator,
Surrogate owner,
Cons arguments)
|
static StringWrapper |
cppTranslateReturnParameterName(Symbol namesymbol,
int parameternumber)
|
static StringWrapper |
cppTranslateSymbolId(Symbol symbol)
|
static StringWrapper |
cppTranslateSymbolName(Symbol symbol)
|
static StringWrapper |
cppYieldRenamedReservedWord(Symbol word)
|
static Cons |
cppYieldVaEndTree(Symbol iteratorvar)
|
static Cons |
cppYieldVaIteratorDeclarations(Symbol iteratorvar)
|
static Symbol |
cppYieldVaIteratorHelperVariable(Symbol iteratorvar)
|
static Cons |
cppYieldVaStartTree(Symbol iteratorvar)
|
static void |
createLispMacroUnits(Symbol name,
MethodSlot method)
|
static boolean |
declarationOperatorP(Symbol operator)
|
static MethodSlot |
defineInlineMethod(Symbol name,
Cons parametersandbody)
|
static MethodSlot |
defineStellaMethodSlot(Symbol inputname,
Cons returntypes,
boolean functionP,
Cons inputparameters,
KeywordKeyValueList options)
Define a new Stella method object (a slot), and attach it to the class identified by the first parameter in 'inputParameters'. |
static Slot |
defineStellaSlot(Symbol name,
Surrogate owner,
Surrogate basetype,
Cons typespecifier,
KeywordKeyValueList options)
|
static SystemDefinition |
defsystem(Symbol name,
Cons options)
Define a system of files that collectively define a Stella application. |
static boolean |
duplicateCursorVariableP(Symbol variable,
Cons iteratorbindings)
|
static Cons |
expandXmlTagCase(Symbol item,
Cons clauses)
|
static Stella_Object |
extractOptionAndResidue(Symbol option,
Cons tail,
java.lang.Object[] MV_returnarray)
|
static MethodSlot |
findPrototypeMethod(Symbol methodname,
Surrogate abstracttype)
|
static MethodSlot |
getFunctionWithIdenticalSignature(Symbol name,
java.lang.String stringifiedsource)
|
static Stella_Object |
getLocalVariableInfo(Symbol variable,
Keyword key)
|
static MethodSlot |
getMethodWithIdenticalSignature(Symbol name,
Cons parameterstree,
java.lang.String stringifiedsource)
|
Stella_Class |
getStellaClass(boolean errorP)
Return a class with name className . |
Context |
getStellaContextSlowly()
|
static Symbol |
idlCreateOverloadedFunctionName(Symbol functionname,
Surrogate classtype)
|
static StringWrapper |
idlLookupReservedWordTable(Symbol word)
|
void |
idlOutputLiteral()
|
Cons |
idlTranslateAtomicTree()
|
static StringWrapper |
idlTranslateClassParameterName(Symbol namesymbol)
|
static Stella_Object |
idlTranslateMethodParameter(Symbol name,
StandardObject type,
Symbol direction)
|
static StringWrapper |
idlTranslateName(Symbol namesymbol)
|
static StringWrapper |
idlTranslateSymbolId(Symbol symbol)
|
static StringWrapper |
idlTranslateSymbolName(Symbol symbol)
|
static StringWrapper |
idlYieldRenamedReservedWord(Symbol word)
|
static Symbol |
importSymbol(Symbol symbol,
Module module)
Import symbol into module and return the imported symbol . |
static boolean |
inlineVariableReferenceP(Symbol self)
|
static Symbol |
javaCreateOverloadedFunctionName(Symbol functionname,
Surrogate classtype)
|
static Cons |
javaLookupOperatorTable(Symbol operator)
|
void |
javaOutputLiteral()
|
static Cons |
javaTranslateArefMethodCall(Symbol operator,
Surrogate owner,
Cons arguments)
|
Cons |
javaTranslateAtomicTree()
|
static Cons |
javaTranslateGeneralSymbol(Symbol tree)
|
static StringWrapper |
javaTranslateGlobalName(Symbol namesymbol,
boolean definitionP)
|
static Stella_Object |
javaTranslateMethodParameter(Symbol name,
StandardObject type,
MethodSlot method)
|
static StringWrapper |
javaTranslateName(Symbol namesymbol)
|
static Cons |
javaTranslateNormalMethodCall(Symbol methodname,
Surrogate classtype,
Cons allargs)
|
static Cons |
javaTranslateNthMethodCall(Symbol operator,
Surrogate owner,
Cons arguments)
|
static StringWrapper |
javaTranslateSymbolId(Symbol symbol)
|
static StringWrapper |
javaTranslateSymbolName(Symbol symbol)
|
static StringWrapper |
javaTranslateVariableLengthArgName(Symbol namesymbol,
int parameternumber)
|
static StringWrapper |
javaYieldRenamedReservedWord(Symbol word)
|
Stella_Class |
lookupClass()
Return a class with name name . |
static MethodSlot |
lookupCommand(Symbol name)
If name names an evaluable command return its associated
command object; otherwise, return null . |
static Surrogate |
lookupConstantSymbol(Symbol self)
|
static MethodSlot |
lookupFunction(Symbol functionsymbol)
Return the function defined for 'functionSymbol', if it exists. |
static Module |
lookupFunctionHomeModule(Symbol functionsymbol)
|
static MethodSlot |
lookupFunctionOrStellaFunction(Symbol functionsymbol)
|
static StandardObject |
lookupGlobalVariableType(Symbol name)
|
static MethodSlot |
lookupMacro(Symbol name)
If name has a macro definition, return the method object
holding its expander function. |
static Symbol |
lookupOldValueVariable(Symbol variable)
|
static StandardObject |
lookupVariableType(Symbol variablename)
|
static Surrogate |
makeMemoizationTableSurrogate(Symbol memoname)
|
static Cons |
matchPatternElement(Symbol patternElement,
Stella_Object datumElement)
|
static void |
maybeRenameLocalVariable(Symbol variable)
|
static Symbol |
methodCallTypeForVectorStructs(Symbol slotname,
Surrogate owner,
boolean functionP)
|
static boolean |
nativeNameP(Symbol name,
Keyword language,
Keyword category)
|
static Symbol |
newSymbol(java.lang.String symbolName)
|
static Module |
overloadedFunctionNameModule(Symbol functionName,
Surrogate classType)
|
Stella_Object |
permanentify()
|
static Stella_Object |
popq(Symbol variable)
Pops a value from the cons list 'variable'. |
Surrogate |
primaryType()
Returns the primary type of self . |
void |
printObject(java.io.PrintStream stream)
|
static void |
printSymbol(Symbol self,
java.io.PrintStream stream)
|
static Stella_Object |
pushq(Symbol variable,
Stella_Object value)
Push 'value' onto the cons list 'variable'. |
static Stella_Object |
pushqNew(Symbol variable,
Stella_Object value)
Push value onto the cons list variable , unless value
is already a member of the list. |
static void |
pushSpecial(Symbol variable,
Symbol oldvaluevariable)
|
static void |
pushVariableBinding(Symbol variable,
StandardObject type)
|
static boolean |
registeredSlotNameP(Symbol slotName)
Return true if slotName is the name of some registered;
slot in the system. |
static void |
registerNativeName(Symbol name,
Keyword language,
Keyword category)
|
static void |
registerReferenceToGlobalVariable(Symbol variablename)
|
static Symbol |
safeImportSymbol(Symbol symbol,
Module module)
Safe version of importSymbol (which see). |
static void |
setLocalVariableInfo(Symbol variable,
Keyword key,
Stella_Object info)
|
static Stella_Object |
setqP(Symbol variable,
Cons expression)
Assign 'variable' the result of evaluating 'expression', and return TRUE if 'expression' is not NULL else return FALSE. |
static Stella_Object |
signal(Symbol type,
Cons body)
Signal error message, placing non-string arguments in quotes. |
static boolean |
slotReaderFromNameP(Symbol methodname,
StandardObject methodowner)
|
Symbol |
softPermanentify()
|
Surrogate |
surrogatify()
Converts 'self' into a surrogate (same semantics as symbolToSurrogate which see). |
static boolean |
symbolCommonLispP(Symbol self)
|
static Cons |
symbolPlist(Symbol symbol)
Return the property list of symbol . |
static Cons |
symbolPlistSetter(Symbol symbol,
Cons plist)
|
static Stella_Object |
symbolProperty(Symbol symbol,
StandardObject key)
Return the property of symbol whose key is eqP to key . |
static Stella_Object |
symbolPropertySetter(Symbol symbol,
Stella_Object value,
StandardObject key)
|
static Surrogate |
symbolToSurrogate(Symbol self)
Return a surrogate with the same name as 'self'. |
static Surrogate |
symbolToType(Symbol self)
Convert self into a surrogate with the same name and module. |
static Stella_Object |
symbolValue(Symbol symbol)
Return the value of symbol . |
static Stella_Object |
symbolValueSetter(Symbol symbol,
Stella_Object value)
|
static Symbol |
trueSlotName(Symbol slotname,
Surrogate type)
|
static Symbol |
trueVariableName(Symbol variable)
|
static void |
undefineExternalSlots(Symbol name)
|
static void |
undefineFunction(Symbol name)
|
static void |
uninternSymbol(Symbol self)
Remove self from its home module and the symbol table. |
static boolean |
variableEqlP(Symbol var1,
Symbol var2)
|
static boolean |
visibleSymbolP(Symbol self)
Return true if self is visible from the current module. |
static Cons |
walkADeclaration(Symbol variable,
Stella_Object typetree,
Stella_Object value,
boolean inputparameterP)
|
Stella_Object |
walkAtomicTree(java.lang.Object[] MV_returnarray)
|
static Symbol |
walkConstantSymbol(Symbol self,
java.lang.Object[] MV_returnarray)
|
static Cons |
walkInlineVariableReference(Symbol self,
java.lang.Object[] MV_returnarray)
|
static Stella_Object |
yieldArgumentAccessTree(Symbol argumentsvariable,
int index,
boolean restargumentP)
|
static Cons |
yieldArithmeticOperatorCallTree(Symbol operator,
Cons operands)
|
static Cons |
yieldCastedTypecaseClauseTrees(Symbol testvariable,
StandardObject clausetype,
Cons clausetrees)
|
static Stella_Object |
yieldClosSlotAccessorName(Symbol slotname)
|
static Cons |
yieldCollectCode(Symbol collectvariable,
Stella_Object intovariable,
Stella_Object collecttree)
|
static Cons |
yieldCollectIntoConsCode(Symbol collectvariable,
Stella_Object intovariable,
Stella_Object collecttree)
|
static Cons |
yieldCollectIntoListCode(Symbol collectvariable,
Stella_Object intovariable,
Stella_Object collecttree)
|
static Symbol |
yieldEvaluatorWrapperName(Symbol methodname)
|
static Cons |
yieldLispMacroTrees(Symbol name,
MethodSlot method,
java.lang.Object[] MV_returnarray)
|
static Symbol |
yieldLocalVariableAlias(Symbol variable,
int level)
|
static Cons |
yieldNestedArithmeticOperatorCallTree(Symbol operator,
Cons operands)
|
static Symbol |
yieldRenamedNameIfNative(Symbol name,
Keyword language,
Keyword category)
|
static Symbol |
yieldSetterMethodName(Symbol methodname)
|
static Cons |
yieldSlotValueReaderTree(Symbol slotname,
Stella_Object objectref,
Surrogate objecttype)
|
static Cons |
yieldSlotValueWriterTree(Symbol slotname,
Stella_Object objectref,
Surrogate objecttype,
Stella_Object valueref)
|
static java.lang.String |
yieldStartupFunctionClassname(Symbol functionName)
|
StandardObject |
yieldTypeSpecifier()
|
Methods inherited from class edu.isi.stella.ContextSensitiveObject |
---|
homeModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int symbolSlotOffset
public Cons symbolValueAndPlist
Constructor Detail |
---|
public Symbol()
Method Detail |
---|
public static Symbol newSymbol(java.lang.String symbolName)
public void idlOutputLiteral()
idlOutputLiteral
in class Stella_Object
public static Stella_Object idlTranslateMethodParameter(Symbol name, StandardObject type, Symbol direction)
public static Symbol idlCreateOverloadedFunctionName(Symbol functionname, Surrogate classtype)
public static StringWrapper idlTranslateClassParameterName(Symbol namesymbol)
public static StringWrapper idlTranslateSymbolId(Symbol symbol)
public static StringWrapper idlTranslateSymbolName(Symbol symbol)
public static StringWrapper idlTranslateName(Symbol namesymbol)
public static StringWrapper idlLookupReservedWordTable(Symbol word)
public static StringWrapper idlYieldRenamedReservedWord(Symbol word)
public Cons idlTranslateAtomicTree()
idlTranslateAtomicTree
in class Stella_Object
public void javaOutputLiteral()
javaOutputLiteral
in class Stella_Object
public static Cons javaTranslateNthMethodCall(Symbol operator, Surrogate owner, Cons arguments)
public static Cons javaTranslateArefMethodCall(Symbol operator, Surrogate owner, Cons arguments)
public static Cons javaTranslateNormalMethodCall(Symbol methodname, Surrogate classtype, Cons allargs)
public static StringWrapper javaTranslateVariableLengthArgName(Symbol namesymbol, int parameternumber)
public static Symbol javaCreateOverloadedFunctionName(Symbol functionname, Surrogate classtype)
public static Stella_Object javaTranslateMethodParameter(Symbol name, StandardObject type, MethodSlot method)
public Cons javaTranslateAtomicTree()
javaTranslateAtomicTree
in class Stella_Object
public static Cons javaTranslateGeneralSymbol(Symbol tree)
public static StringWrapper javaTranslateGlobalName(Symbol namesymbol, boolean definitionP)
public static StringWrapper javaTranslateName(Symbol namesymbol)
public static StringWrapper javaYieldRenamedReservedWord(Symbol word)
public static StringWrapper javaTranslateSymbolId(Symbol symbol)
public static StringWrapper javaTranslateSymbolName(Symbol symbol)
public static Cons javaLookupOperatorTable(Symbol operator)
public void cppOutputLiteral()
cppOutputLiteral
in class Stella_Object
public static Cons cppTranslateHardcodedSymbolReference(Symbol operator, int offset)
public static Cons cppTranslateArefMethodCall(Symbol operator, Surrogate owner, Cons arguments)
public static Cons cppTranslateNthMethodCall(Symbol operator, Surrogate owner, Cons arguments)
public static Cons cppTranslateNormalMethodCall(Symbol methodname, Surrogate owner, Cons arguments, boolean referencedP)
public static Symbol cppCreateOverloadedFunctionName(Symbol functionname, Surrogate classtype)
public static StringWrapper cppTranslateMethodNameFromName(Symbol methodname, StandardObject methodowner)
public static StringWrapper cppTranslateFunctionNameFromName(Symbol functionname)
public static boolean slotReaderFromNameP(Symbol methodname, StandardObject methodowner)
public static Stella_Object cppTranslateFunctionParameter(Symbol name, StandardObject type, MethodSlot method)
public static StringWrapper cppTranslateSymbolId(Symbol symbol)
public static StringWrapper cppTranslateSymbolName(Symbol symbol)
public static StringWrapper cppTranslateReturnParameterName(Symbol namesymbol, int parameternumber)
public static StringWrapper cppTranslateClassParameterName(Symbol namesymbol)
public static StringWrapper cppTranslateGlobalName(Symbol namesymbol)
public static StringWrapper cppTranslateName(Symbol namesymbol)
public static Symbol cppFixupNameSymbol(Symbol namesymbol, Module homemodule)
public Cons cppTranslateAtomicTree()
cppTranslateAtomicTree
in class Stella_Object
public static Cons cppTranslateArgumentListTree(Symbol operator, Surrogate owner, Stella_Object argument)
public static Cons cppYieldVaIteratorDeclarations(Symbol iteratorvar)
public static Symbol cppYieldVaIteratorHelperVariable(Symbol iteratorvar)
public static Cons cppYieldVaEndTree(Symbol iteratorvar)
public static Cons cppYieldVaStartTree(Symbol iteratorvar)
public static StringWrapper cppLookupReservedWordTable(Symbol word)
public static StringWrapper cppYieldRenamedReservedWord(Symbol word)
public static Cons cppLookupOperatorTable(Symbol operator)
public static Module overloadedFunctionNameModule(Symbol functionName, Surrogate classType)
public static SystemDefinition defsystem(Symbol name, Cons options)
name
- options
-
public static Surrogate makeMemoizationTableSurrogate(Symbol memoname)
public static Stella_Object coerceARestToCons(Symbol restvariable)
restvariable
into a CONS
list containing all its elements (uses argument list iteration to do so). If
restvariable
already is a CONS due to argument listification, this is a no-op.
restvariable
-
public static Stella_Object setqP(Symbol variable, Cons expression)
variable
- expression
-
public static Stella_Object pushqNew(Symbol variable, Stella_Object value)
value
onto the cons list variable
, unless value
is already a member of the list.
variable
- value
-
public static Stella_Object popq(Symbol variable)
variable
-
public static Stella_Object pushq(Symbol variable, Stella_Object value)
variable
- value
-
public static Cons expandXmlTagCase(Symbol item, Cons clauses)
public Context getStellaContextSlowly()
public static int clStructSlotOffset(Symbol slotname, Surrogate classtype)
public static boolean duplicateCursorVariableP(Symbol variable, Cons iteratorbindings)
public static Cons clTranslateNormalCallMethodTree(Symbol operator, Surrogate owner, Cons arguments)
public static Symbol methodCallTypeForVectorStructs(Symbol slotname, Surrogate owner, boolean functionP)
public static Symbol trueSlotName(Symbol slotname, Surrogate type)
public static Cons yieldSlotValueWriterTree(Symbol slotname, Stella_Object objectref, Surrogate objecttype, Stella_Object valueref)
public static Cons yieldSlotValueReaderTree(Symbol slotname, Stella_Object objectref, Surrogate objecttype)
public static Stella_Object yieldClosSlotAccessorName(Symbol slotname)
public static Stella_Object clTranslateLocalSymbol(Symbol symbol)
public static Stella_Object clTranslateGlobalSymbol(Symbol symbol)
public Stella_Object clTranslateAtomicTree()
clTranslateAtomicTree
in class Stella_Object
public static Stella_Object yieldArgumentAccessTree(Symbol argumentsvariable, int index, boolean restargumentP)
public static Symbol yieldEvaluatorWrapperName(Symbol methodname)
public static MethodSlot lookupCommand(Symbol name)
name
names an evaluable command return its associated
command object; otherwise, return null
. Currently, commands are not
polymorphic, i.e., they can only be implemented by functions.
name
-
public static void createLispMacroUnits(Symbol name, MethodSlot method)
public static Cons yieldLispMacroTrees(Symbol name, MethodSlot method, java.lang.Object[] MV_returnarray)
public static Symbol yieldRenamedNameIfNative(Symbol name, Keyword language, Keyword category)
public static boolean nativeNameP(Symbol name, Keyword language, Keyword category)
public static void registerNativeName(Symbol name, Keyword language, Keyword category)
public static java.lang.String yieldStartupFunctionClassname(Symbol functionName)
public static Cons combineStartupFunctionUnits(Symbol startupfnname)
public static MethodSlot lookupMacro(Symbol name)
name
has a macro definition, return the method object
holding its expander function.
name
-
public static Cons walkInlineVariableReference(Symbol self, java.lang.Object[] MV_returnarray)
public static boolean inlineVariableReferenceP(Symbol self)
public static MethodSlot findPrototypeMethod(Symbol methodname, Surrogate abstracttype)
public static Cons yieldNestedArithmeticOperatorCallTree(Symbol operator, Cons operands)
public static Cons yieldArithmeticOperatorCallTree(Symbol operator, Cons operands)
public static Cons yieldCastedTypecaseClauseTrees(Symbol testvariable, StandardObject clausetype, Cons clausetrees)
public static Symbol lookupOldValueVariable(Symbol variable)
public static void pushSpecial(Symbol variable, Symbol oldvaluevariable)
public static Cons walkADeclaration(Symbol variable, Stella_Object typetree, Stella_Object value, boolean inputparameterP)
public Stella_Object walkAtomicTree(java.lang.Object[] MV_returnarray)
walkAtomicTree
in class Stella_Object
public static Symbol walkConstantSymbol(Symbol self, java.lang.Object[] MV_returnarray)
public static boolean constantSymbolP(Symbol symbol)
public static Surrogate lookupConstantSymbol(Symbol self)
public static Symbol trueVariableName(Symbol variable)
public static void maybeRenameLocalVariable(Symbol variable)
public static Symbol yieldLocalVariableAlias(Symbol variable, int level)
public static void registerReferenceToGlobalVariable(Symbol variablename)
public static Stella_Object getLocalVariableInfo(Symbol variable, Keyword key)
public static void setLocalVariableInfo(Symbol variable, Keyword key, Stella_Object info)
public static StandardObject lookupVariableType(Symbol variablename)
public static void pushVariableBinding(Symbol variable, StandardObject type)
public static boolean variableEqlP(Symbol var1, Symbol var2)
public static boolean declarationOperatorP(Symbol operator)
public static Cons yieldCollectCode(Symbol collectvariable, Stella_Object intovariable, Stella_Object collecttree)
public static Cons yieldCollectIntoConsCode(Symbol collectvariable, Stella_Object intovariable, Stella_Object collecttree)
public static Cons yieldCollectIntoListCode(Symbol collectvariable, Stella_Object intovariable, Stella_Object collecttree)
public static Stella_Object extractOptionAndResidue(Symbol option, Cons tail, java.lang.Object[] MV_returnarray)
public static MethodSlot getMethodWithIdenticalSignature(Symbol name, Cons parameterstree, java.lang.String stringifiedsource)
public static MethodSlot getFunctionWithIdenticalSignature(Symbol name, java.lang.String stringifiedsource)
public static Symbol yieldSetterMethodName(Symbol methodname)
public static MethodSlot defineInlineMethod(Symbol name, Cons parametersandbody)
public static Cons matchPatternElement(Symbol patternElement, Stella_Object datumElement)
public static StandardObject lookupGlobalVariableType(Symbol name)
public static void undefineFunction(Symbol name)
public static Module lookupFunctionHomeModule(Symbol functionsymbol)
public static MethodSlot lookupFunctionOrStellaFunction(Symbol functionsymbol)
public static MethodSlot lookupFunction(Symbol functionsymbol)
functionsymbol
-
public static void undefineExternalSlots(Symbol name)
public static MethodSlot defineStellaMethodSlot(Symbol inputname, Cons returntypes, boolean functionP, Cons inputparameters, KeywordKeyValueList options)
inputname
- returntypes
- functionP
- inputparameters
- options
-
public StandardObject yieldTypeSpecifier()
yieldTypeSpecifier
in class Stella_Object
public static boolean registeredSlotNameP(Symbol slotName)
true
if slotName
is the name of some registered;
slot in the system.
slotName
-
public static Slot defineStellaSlot(Symbol name, Surrogate owner, Surrogate basetype, Cons typespecifier, KeywordKeyValueList options)
public Stella_Class getStellaClass(boolean errorP)
className
. If non exists, break
if errorP
, else return null
.
errorP
-
public Stella_Class lookupClass()
name
. Scan all
visible surrogates looking for one that has a class defined for it.
public Symbol softPermanentify()
public Stella_Object permanentify()
permanentify
in class Stella_Object
public static void printSymbol(Symbol self, java.io.PrintStream stream)
public static Stella_Object symbolPropertySetter(Symbol symbol, Stella_Object value, StandardObject key)
public static Stella_Object symbolProperty(Symbol symbol, StandardObject key)
symbol
whose key is eqP
to key
.
Symbol properties can be set with setf
.
symbol
- key
-
public static Cons symbolPlistSetter(Symbol symbol, Cons plist)
public static Cons symbolPlist(Symbol symbol)
symbol
. The symbolPlist
of a symbol can be set with setf
. IMPORTANT: Property list are modified
destructively, hence, if you supply it as a whole make sure to always supply
a modfiable copy, e.g., by using bquote
.
symbol
-
public static Stella_Object symbolValueSetter(Symbol symbol, Stella_Object value)
public static Stella_Object symbolValue(Symbol symbol)
symbol
. Note, that this value is not
visible to code that references a variable with the same name as symbol
.
The symbolValue
is simply a special property that can always be accessed
in constant time. The symbolValue
of a symbol can be changed with setf
.
symbol
-
public static boolean visibleSymbolP(Symbol self)
true
if self
is visible from the current module.
self
-
public Surrogate surrogatify()
symbolToSurrogate
which see).
surrogatify
in class Stella_Object
public static Surrogate symbolToSurrogate(Symbol self)
self
-
public static Surrogate symbolToType(Symbol self)
self
into a surrogate with the same name and module.
self
-
public static boolean symbolCommonLispP(Symbol self)
public static void uninternSymbol(Symbol self)
self
from its home module and the symbol table.
self
- public static Symbol safeImportSymbol(Symbol symbol, Module module)
importSymbol
(which see). Only imports symbol
if
no symbol with that name is currently interned or visible in module
.
Returns symbol
if it was imported or the conflicting symbol in module
otherwise.
symbol
- module
-
public static Symbol importSymbol(Symbol symbol, Module module)
symbol
into module
and return the imported symbol
.
Signal an error if a different symbol with the same name already exists
locally in module
. Any symbol with the same name visible in module
by
inheritance will be shadowed by the newly imported symbol
.
symbol
- module
-
public static Stella_Object signal(Symbol type, Cons body)
type
- body
-
public void printObject(java.io.PrintStream stream)
printObject
in class Stella_Object
public static Stella_Object accessSymbolSlotValue(Symbol self, Symbol slotname, Stella_Object value, boolean setvalueP)
public Surrogate primaryType()
Stella_Object
self
.
Gets defined automatically for every non-abstract subclass of OBJECT.
primaryType
in class Stella_Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |