|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
Coala elements. This abstract class essentially defines basic elements of the coala asbtract syntax. This class must de extended in immutable classes, by defining "equals", "toText", "toCompleteText", "toCoco" and "clone" methods. In addition, for each textual attribute attr_i of type Attr_i, a private attribute variable must be defined, a constructor with parameters "(Attr_1 attr_1, ... , Attr_n attr_n)" must be defined, and n methods "Attr_i attr_i()" returning the value of the attribute must be defined.
Constructor Summary | |
CoalaElement()
|
Method Summary | |
abstract java.lang.Object |
clone()
Cloning method. |
protected CoalaElement |
cloneCoalaElement()
Internal cloning method. |
abstract boolean |
equals(java.lang.Object obj)
Equality method. |
abstract int |
hashCode()
Hashcode method. |
java.lang.String |
toCompleteString()
Complete string method. |
java.lang.String |
toCompleteString(CoopnEnv env)
Complete string conversion method. |
java.lang.String |
toCompleteString(CoopnEnv env,
int indent)
Complete string conversion method. |
java.lang.String |
toCompleteString(CoopnSymbolTable table)
Complete string method. |
java.lang.String |
toCompleteString(CoopnSymbolTable table,
CoopnEnv env)
Complete string conversion method. |
java.lang.String |
toCompleteString(CoopnSymbolTable table,
CoopnEnv env,
int indent)
Complete string conversion method. |
ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement |
toCompleteText()
Complete textual elements conversion method. |
abstract ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement |
toCompleteText(CoopnSymbolTable table)
Complete textual elements conversion method. |
java.lang.String |
toString()
String conversion method. |
java.lang.String |
toString(CoopnEnv env)
String conversion method. |
java.lang.String |
toString(CoopnEnv env,
int indent)
String conversion method. |
abstract ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement |
toText()
Textual elements conversion method. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CoalaElement()
Method Detail |
public abstract boolean equals(java.lang.Object obj)
equals
in interface CoopnSyntacticElement
equals
in class java.lang.Object
obj
- the object to comparepublic abstract int hashCode()
hashCode
in interface CoopnSyntacticElement
hashCode
in class java.lang.Object
public abstract ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toText()
public abstract ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toCompleteText(CoopnSymbolTable table)
table
- the symbol table used to generate symbol referencespublic ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toCompleteText()
public java.lang.String toString(CoopnEnv env, int indent)
toString
in interface CoopnSyntacticElement
env
- the environment deciding the form of the displayindent
- the identation factorpublic java.lang.String toString(CoopnEnv env)
toString
in interface CoopnSyntacticElement
env
- the environment deciding the form of the displaypublic java.lang.String toString()
toString
in interface CoopnSyntacticElement
toString
in class java.lang.Object
public java.lang.String toCompleteString(CoopnSymbolTable table, CoopnEnv env, int indent)
table
- the symbol table used to generate symbol referencesenv
- the environment deciding the form of the displayindent
- the identation factorpublic java.lang.String toCompleteString(CoopnSymbolTable table, CoopnEnv env)
table
- the symbol table used to generate symbol referencesenv
- the environment deciding the form of the displaypublic java.lang.String toCompleteString(CoopnSymbolTable table)
table
- the symbol table used to generate symbol referencespublic java.lang.String toCompleteString(CoopnEnv env, int indent)
toCompleteString
in interface CoopnSyntacticElement
env
- the environment deciding the form of the displayindent
- the identation factorpublic java.lang.String toCompleteString(CoopnEnv env)
toCompleteString
in interface CoopnSyntacticElement
env
- the environment deciding the form of the displaypublic java.lang.String toCompleteString()
toCompleteString
in interface CoopnSyntacticElement
protected CoalaElement cloneCoalaElement()
public abstract java.lang.Object clone()
clone
in interface CoopnSyntacticElement
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |