|
||||||||||
| 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.GotoStmnt
Goto statement.
| Constructor Summary | |
GotoStmnt(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. |
java.lang.String |
getLabel()
Returns the destination label. |
ASTree |
getLeft()
Returns null. |
ASTree |
getRight()
Returns null. |
int |
lineNumber()
Returns the line number of the statement. |
void |
setLabel(java.lang.String name)
|
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 GotoStmnt(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 void setLabel(java.lang.String name)
public java.lang.String getLabel()
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 | |||||||||