|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ast.ASTree
coins.ast.stmnt.LeafStmnt
coins.ast.stmnt.NamedLabel
Label.
| Constructor Summary | |
NamedLabel(java.lang.String label,
java.lang.String fname,
int line)
|
|
| Method Summary | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
java.lang.String |
fileName()
Returns the file name including the statement. |
ASTree |
getLeft()
Returns null. |
java.lang.String |
getName()
Returns the label name. |
ASTree |
getRight()
Returns null. |
int |
lineNumber()
Returns the line number of the statement. |
void |
setLeft(ASTree _left)
|
void |
setRight(ASTree _right)
|
java.lang.String |
toString()
|
| Methods inherited from class coins.ast.ASTree |
getTag, putSeparator, rightToString, toString1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NamedLabel(java.lang.String label,
java.lang.String fname,
int line)
| Method Detail |
public void accept(Visitor v)
ASTreeatXXX() on the given visitor, where
XXX is the class name of the node object.
accept in class ASTreepublic java.lang.String getName()
public java.lang.String toString()
toString in class ASTreepublic java.lang.String fileName()
Stmnt
fileName in interface Stmntpublic int lineNumber()
Stmnt
lineNumber in interface Stmntpublic ASTree getLeft()
getLeft in class ASTreepublic ASTree getRight()
getRight in class ASTreepublic void setLeft(ASTree _left)
setLeft in class ASTreepublic void setRight(ASTree _right)
setRight in class ASTree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||