|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ast.ASTree | +--coins.ast.stmnt.LeafStmnt | +--coins.ast.stmnt.NamedLabel
Label.
コンストラクタの概要 | |
NamedLabel(java.lang.String label,
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. |
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()
|
クラス coins.ast.ASTree から継承したメソッド |
getTag, putSeparator, rightToString, toString1 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public NamedLabel(java.lang.String label, 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 java.lang.String getName()
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
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |