|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ast.ASTree | +--coins.ast.stmnt.LeafStmnt | +--coins.ast.stmnt.GotoStmnt
Goto statement.
コンストラクタの概要 | |
GotoStmnt(java.lang.String fname,
int line)
|
メソッドの概要 | |
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()
|
クラス coins.ast.ASTree から継承したメソッド |
getTag, putSeparator, rightToString, toString1 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public GotoStmnt(java.lang.String fname, int line)
メソッドの詳細 |
public void accept(Visitor v)
ASTree
の記述: atXXX()
on the given visitor, where
XXX
is the class name of the node object.
ASTree
内の accept
public void setLabel(java.lang.String name)
public java.lang.String getLabel()
public java.lang.String toString()
ASTree
内の toString
public java.lang.String fileName()
Stmnt
の記述:
Stmnt
内の fileName
public int lineNumber()
Stmnt
の記述:
Stmnt
内の lineNumber
public ASTree getLeft()
ASTree
内の getLeft
public ASTree getRight()
ASTree
内の getRight
public void setLeft(ASTree _left)
ASTree
内の setLeft
public void setRight(ASTree _right)
ASTree
内の setRight
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |