ConForM.CoopnTools.CoKer.CoalaMgr
Class CoalaUseField
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElementList
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaSymbolList
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaField
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaUseField
- All Implemented Interfaces:
- java.lang.Cloneable, CoopnSyntacticElement, CoopnSyntacticField, CoopnSyntacticUseField, java.io.Serializable
- public class CoalaUseField
- extends CoalaField
- implements CoopnSyntacticUseField
List of coala uses.
- See Also:
CoalaField
, Serialized Form
Methods inherited from class ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement |
cloneCoalaElement, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toString, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
CoalaUseField
public CoalaUseField()
- Simple constructor.
kind
public java.lang.String kind()
- Description copied from interface:
CoopnSyntacticField
- Kind retrieving method. This method must be defined in the inherited
classes for returning a string allowing the user to know what kind of
field this is.
- Specified by:
kind
in interface CoopnSyntacticField
- Overrides:
kind
in class CoalaField
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticField
- Returns:
- a string defining the field kind.
moduleKind
public int moduleKind()
- get the module kind.
- Specified by:
moduleKind
in interface CoopnSyntacticUseField
add
public void add(CoalaUseSymbol use)
merge
public void merge(CoalaUseField list)
elements
public CoalaUseSymbol[] elements()
toText
public ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toText()
- Description copied from class:
CoalaElement
- Textual elements conversion method. Must be defined in the inherited
classes. This routine converts an element into a user-friendly textual
element representing it. The string interpretation of this element is
very intuitive by a user, but may
be incorrect in the sense that it may be rejected by a checker.
- Overrides:
toText
in class CoalaElement
- Following copied from class:
ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
- Returns:
- a CoopnTextElement image.
toCompleteText
public ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toCompleteText(CoopnSymbolTable table)
- Description copied from class:
CoalaElement
- Complete textual elements conversion method. Must be defined in the
inherited classes. This routine converts an element into a correct
textual element representing it. The string interpretation of this
element will be accepted by a checker, but may be difficult to read by
users, due to the additionnal information, like parenthesis and so on.
- Overrides:
toCompleteText
in class CoalaElement
- Following copied from class:
ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
- Parameters:
table
- the symbol table used to generate symbol references- Returns:
- a CoopnTextElement image.