|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnSection | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnInherit
Coopn inherit.
CoopnSection
, Serialized FormConstructor Summary | |
CoopnInherit(CoopnModuleName name)
Simple constructor. |
|
CoopnInherit(CoopnModuleName name,
CoopnRealInheritance realInheritance)
Simple constructor. |
Method Summary | |
void |
addRedefines(CoopnRedefineField list)
|
void |
addRenames(CoopnRenameField list)
|
void |
addUndefines(CoopnUndefineField list)
|
java.lang.String |
basedUpon()
Get the module upon which this section is based. |
int |
basedUponKind()
Get the module kind (in the sense of the package manager) of the module upon which this section is based, for instance COOPNSOURCE, COALASOURCE, PACKAGE, and so on). |
java.lang.Object |
clone()
Cloning method. |
boolean |
equals(java.lang.Object obj)
Equality method. |
CoopnSyntacticField[] |
fields()
Get the fields of this section. |
boolean |
hasBasedUpon()
Test if this section is based upon another module. |
int |
hashCode()
Hashcode method. |
boolean |
hasRealInheritance()
|
CoopnElement |
interpret(CoopnSubstitution sigma)
Interpretation of this element according to a substitution. |
java.lang.String |
kind()
Kind retrieving method. |
CoopnModuleName |
name()
|
CoopnRealInheritance |
realInheritance()
|
CoopnRedefineField |
redefines()
|
CoopnRenameField |
renames()
|
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement |
toCoco(CoopnSymbolTable table)
CoCo conversion method. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement |
toCompleteText(CoopnSymbolTable table)
Complete textual elements conversion method. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement |
toText()
Textual elements conversion method. |
CoopnUndefineField |
undefines()
|
java.lang.Object |
unmodifiableCopy()
Copy the element into an unmodifiable structure. |
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement |
cloneCoopnElement, pureCOIL, pureCOOPN, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toString, toString, toString, toTokens, toTokens, toTokens |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ConForM.CoopnTools.CoKer.CoopnSyntacticElement |
toCompleteString, toCompleteString, toCompleteString, toString, toString, toString |
Constructor Detail |
public CoopnInherit(CoopnModuleName name) throws java.lang.IllegalArgumentException
public CoopnInherit(CoopnModuleName name, CoopnRealInheritance realInheritance) throws java.lang.IllegalArgumentException
Method Detail |
public CoopnElement interpret(CoopnSubstitution sigma)
CoopnElement
interpret
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
sigma
- the substitution; cannot be nullpublic java.lang.String kind()
CoopnSyntacticSection
kind
in interface CoopnSyntacticSection
kind
in class CoopnSection
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
public CoopnSyntacticField[] fields()
CoopnSyntacticSection
fields
in interface CoopnSyntacticSection
fields
in class CoopnSection
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
public boolean hasBasedUpon()
hasBasedUpon
in interface CoopnSyntacticHeaderSection
public java.lang.String basedUpon()
basedUpon
in interface CoopnSyntacticHeaderSection
public int basedUponKind()
basedUponKind
in interface CoopnSyntacticHeaderSection
public CoopnModuleName name()
public CoopnRenameField renames()
public CoopnRedefineField redefines()
public CoopnUndefineField undefines()
public boolean hasRealInheritance()
public CoopnRealInheritance realInheritance()
public void addRenames(CoopnRenameField list)
public void addRedefines(CoopnRedefineField list)
public void addUndefines(CoopnUndefineField list)
public boolean equals(java.lang.Object obj)
CoopnSyntacticElement
equals
in interface CoopnSyntacticElement
equals
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
obj
- the object to comparepublic int hashCode()
CoopnSyntacticElement
hashCode
in interface CoopnSyntacticElement
hashCode
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
CoopnElement
toText
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
CoopnElement
toCompleteText
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
table
- the symbol table used to generate symbol referencespublic ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table) throws java.lang.IllegalArgumentException
CoopnElement
toCoco
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
origin
- the module which generated the Coco conversiontable
- the symbol table used to generate symbol referencesjava.lang.IllegalArgumentException
- A used symbol is not in the symbol table.public java.lang.Object unmodifiableCopy()
CoopnElement
unmodifiableCopy
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
public java.lang.Object clone()
CoopnSyntacticElement
clone
in interface CoopnSyntacticElement
clone
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |