|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--torero.gui.SrcAtt
Helper Object used by NodeWrapper. It represents an unique key for sources of an attribute assignment.
NodeWrapper
,
Production
,
ConnectTool
Field Summary | |
Attribute |
att
The attribute component of the key. |
static int |
CHILD
Source node is child of the destination node. |
static int |
PARENT
Source node is parent of the destination node. |
static int |
RSIBLING
Source node is the right neighbour of the destination node. |
static int |
SELF
Source node is the destination node. |
static int |
SIBLING
Source node is silbing of the destination node. |
int |
sourcetype
The type of the key. |
GrammarNode |
src
The gammarnode component of the key. |
Constructor Summary | |
SrcAtt(GrammarNode src,
Attribute att,
int sourcetype)
|
Method Summary | |
String |
toString()
Only for testing and debugging purpose. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PARENT
public static final int CHILD
public static final int SIBLING
public static final int SELF
public static final int RSIBLING
public GrammarNode src
public Attribute att
public int sourcetype
Constructor Detail |
public SrcAtt(GrammarNode src, Attribute att, int sourcetype)
Method Detail |
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |