|
|||||||||
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.MappableObject edu.isi.stella.Relation edu.isi.stella.PolymorphicRelation edu.isi.stella.Slot
public abstract class Slot
Field Summary | |
---|---|
Surrogate |
slotBaseType
|
boolean |
slotExternalP
|
boolean |
slotMarkedP
|
Symbol |
slotName
|
Surrogate |
slotOwner
|
boolean |
slotPublicP
|
boolean |
slotRenamedP
|
Surrogate |
slotSlotref
|
Fields inherited from class edu.isi.stella.PolymorphicRelation |
---|
slotDirectEquivalent |
Fields inherited from class edu.isi.stella.Relation |
---|
abstractP |
Fields inherited from class edu.isi.stella.MappableObject |
---|
dynamicSlots |
Constructor Summary | |
---|---|
Slot()
|
Method Summary | |
---|---|
static Stella_Object |
accessSlotSlotValue(Slot self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
boolean |
activeP()
True if self or a superslot of self is marked active. |
static void |
attachInverseSlotDemon(Slot slot)
|
static Slot |
attachSlotToOwner(Slot newslot)
|
static void |
checkConformanceOfSlotSignature(Slot self)
|
Keyword |
closureAssumption()
|
boolean |
collectionValuedP()
True if slot values are collections. |
StandardObject |
computeReturnTypeSpec(StandardObject firstargtype)
|
static void |
computeSlotDirectEquivalent(Slot self)
|
static void |
computeSlotInverses(Slot self)
|
boolean |
conformingSignaturesP(Slot superslot)
|
static void |
destroyExternalSlot(Slot self)
|
static boolean |
filterMethodSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterNonAuxiliarySlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterNonExternalSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterNonParameterSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterPrivateSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterPublicMethodSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterPublicSlotP(Slot self,
AllPurposeIterator iterator)
|
static boolean |
filterSlotP(Slot self,
AllPurposeIterator iterator)
|
static void |
finalizeLocalSlot(Slot self)
|
void |
finalizeSlotTypeComputations()
|
static Stella_Object |
finishWalkingArgumentListTree(Slot self,
Cons tree,
StandardObject firstargtype,
java.lang.Object[] MV_returnarray)
|
Stella_Object |
finishWalkingCallSlotTree(Cons tree,
StandardObject firstargtype,
java.lang.Object[] MV_returnarray)
|
void |
helpFinalizeLocalSlot()
|
void |
helpPrintOutline(OutputStream stream,
int currentDepth,
int depth,
boolean namedP)
Helper method for printOutline |
Module |
homeModule()
Return the home module of self . |
static boolean |
inlineMethodP(Slot slot)
|
static boolean |
localSlotP(Slot slot,
Stella_Class renamed_Class)
|
static void |
markDirectEquivalentSlot(Slot slot)
|
int |
methodArgumentCount()
|
static boolean |
mixinMethodP(Slot self)
|
static boolean |
mixinSlotP(Slot self)
|
static boolean |
multiValuedSlotWithDuplicatesP(Slot self)
|
java.lang.String |
name()
|
static Stella_Class |
nativeSlotHome(Slot slot,
Stella_Class renamed_Class)
|
Surrogate |
owner()
|
void |
prettyPrintObject(OutputStream stream)
|
void |
printObject(java.io.PrintStream stream)
|
boolean |
publicP()
True if self or one it its ancestors is marked public. |
static Module |
recordSlotHomeModule(Slot self)
|
static void |
registerSlotName(Slot slot)
Register the name symbol of slot as a slot name, and
initialize its symbolSlotOffset so that it can be used by lookupSlot . |
Symbol |
renames()
|
List |
slotDirectSubs()
|
List |
slotDirectSupers()
|
static boolean |
slotNameConflictP(Slot slot,
Stella_Class renamed_Class)
|
static boolean |
slotValueIsBareLiteralP(Slot slot)
|
Stella_Object |
systemDefaultValue()
Return a default value expression, or if self
has dynamic storage, an initial value expression. |
static Stella_Object |
sysTreeIfNeeded(Slot slot,
Stella_Object tree,
StandardObject firstargtype,
StandardObject returntype,
java.lang.Object[] MV_returnarray)
|
static void |
transferExternalSlotToNewClass(Slot externalslot,
Stella_Class newclass)
|
Surrogate |
type()
The type of a storage slot is its base type. |
StandardObject |
typeSpecifier()
If self has a complex type return its
type specifier, otherwise, return type of self . |
void |
unfinalizeLocalSlot()
|
static void |
unregisterSlotName(Slot slot)
Unregister the name symbol of slot as a slot name,
so that it can no longer be used by lookupSlot . |
static boolean |
warnAboutSlotShadowedByAFunctionP(Slot slot)
|
static Cons |
yieldFixedSlotValueSetterTree(Slot slot,
Stella_Object objectref,
Stella_Object valuetree)
|
Methods inherited from class edu.isi.stella.PolymorphicRelation |
---|
accessPolymorphicRelationSlotValue |
Methods inherited from class edu.isi.stella.Relation |
---|
accessRelationSlotValue, allSupers, arity, directSupers, primitiveP, privateP, properties, slots |
Methods inherited from class edu.isi.stella.MappableObject |
---|
accessMappableObjectSlotValue, badP, deletedP, deletedPSetter, projectedFrom, projectsOnto |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Symbol slotName
public Surrogate slotOwner
public Surrogate slotBaseType
public Surrogate slotSlotref
public boolean slotPublicP
public boolean slotRenamedP
public boolean slotExternalP
public boolean slotMarkedP
Constructor Detail |
---|
public Slot()
Method Detail |
---|
public void helpPrintOutline(OutputStream stream, int currentDepth, int depth, boolean namedP)
printOutline
helpPrintOutline
in class Stella_Object
stream
- currentDepth
- depth
- namedP
- public void prettyPrintObject(OutputStream stream)
public static void attachInverseSlotDemon(Slot slot)
public static Stella_Object finishWalkingArgumentListTree(Slot self, Cons tree, StandardObject firstargtype, java.lang.Object[] MV_returnarray)
public Stella_Object finishWalkingCallSlotTree(Cons tree, StandardObject firstargtype, java.lang.Object[] MV_returnarray)
public static Cons yieldFixedSlotValueSetterTree(Slot slot, Stella_Object objectref, Stella_Object valuetree)
public static Stella_Object sysTreeIfNeeded(Slot slot, Stella_Object tree, StandardObject firstargtype, StandardObject returntype, java.lang.Object[] MV_returnarray)
public static Module recordSlotHomeModule(Slot self)
public static boolean slotValueIsBareLiteralP(Slot slot)
public static void markDirectEquivalentSlot(Slot slot)
public static boolean slotNameConflictP(Slot slot, Stella_Class renamed_Class)
public static Stella_Class nativeSlotHome(Slot slot, Stella_Class renamed_Class)
public static boolean mixinMethodP(Slot self)
public static boolean mixinSlotP(Slot self)
public StandardObject computeReturnTypeSpec(StandardObject firstargtype)
public int methodArgumentCount()
public static void destroyExternalSlot(Slot self)
public Stella_Object systemDefaultValue()
self
has dynamic storage, an initial value expression.
public boolean activeP()
PolymorphicRelation
self
or a superslot of self
is marked active.
activeP
in class PolymorphicRelation
public boolean publicP()
self
or one it its ancestors is marked public.
publicP
in class Relation
public boolean conformingSignaturesP(Slot superslot)
public static boolean warnAboutSlotShadowedByAFunctionP(Slot slot)
public static void unregisterSlotName(Slot slot)
slot
as a slot name,
so that it can no longer be used by lookupSlot
.
slot
- public static void registerSlotName(Slot slot)
slot
as a slot name, and
initialize its symbolSlotOffset
so that it can be used by lookupSlot
.
slot
- public static boolean localSlotP(Slot slot, Stella_Class renamed_Class)
public void unfinalizeLocalSlot()
public static void finalizeLocalSlot(Slot self)
public void helpFinalizeLocalSlot()
public static void computeSlotInverses(Slot self)
public static boolean multiValuedSlotWithDuplicatesP(Slot self)
public void finalizeSlotTypeComputations()
public static void checkConformanceOfSlotSignature(Slot self)
public static void computeSlotDirectEquivalent(Slot self)
public static Slot attachSlotToOwner(Slot newslot)
public static void transferExternalSlotToNewClass(Slot externalslot, Stella_Class newclass)
public static boolean inlineMethodP(Slot slot)
public static boolean filterSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterNonAuxiliarySlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterNonParameterSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterNonExternalSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterPublicMethodSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterMethodSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterPrivateSlotP(Slot self, AllPurposeIterator iterator)
public static boolean filterPublicSlotP(Slot self, AllPurposeIterator iterator)
public void printObject(java.io.PrintStream stream)
printObject
in class Stella_Object
public static Stella_Object accessSlotSlotValue(Slot self, Symbol slotname, Stella_Object value, boolean setvalueP)
public List slotDirectSubs()
public List slotDirectSupers()
public Keyword closureAssumption()
public boolean collectionValuedP()
public Symbol renames()
renames
in class PolymorphicRelation
public Module homeModule()
Stella_Object
self
.
homeModule
in class Relation
public Surrogate owner()
owner
in class PolymorphicRelation
public StandardObject typeSpecifier()
self
has a complex type return its
type specifier, otherwise, return type
of self
.
public Surrogate type()
public java.lang.String name()
name
in class Relation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |