coins.ast.stmnt
クラス TreeStmnt
java.lang.Object
|
+--coins.ast.ASTree
|
+--coins.ast.stmnt.TreeStmnt
- すべての実装インタフェース:
- java.io.Serializable, Stmnt
- 直系の既知のサブクラス:
- DoStmnt, ExpressionStmnt, ForStmnt, IfStmnt, ReturnStmnt, SwitchStmnt, WhileStmnt
- public abstract class TreeStmnt
- extends ASTree
- implements Stmnt
The super class of statements that contain nested statements.
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
left
protected ASTree left
right
protected ASTree right
TreeStmnt
protected TreeStmnt(java.lang.String fname,
int line)
TreeStmnt
protected TreeStmnt(ASTree _left,
ASTree _right,
java.lang.String fname,
int line)
fileName
public java.lang.String fileName()
- インタフェース
Stmnt
の記述:
- Returns the file name including the statement.
- 定義:
- インタフェース
Stmnt
内の fileName
lineNumber
public int lineNumber()
- インタフェース
Stmnt
の記述:
- Returns the line number of the statement.
- 定義:
- インタフェース
Stmnt
内の lineNumber
getTag
protected java.lang.String getTag()
- クラス
ASTree
の記述:
- Returns the type of this node. This method is used by
toString()
.
- オーバーライド:
- クラス
ASTree
内の getTag
getLeft
public ASTree getLeft()
- 定義:
- クラス
ASTree
内の getLeft
getRight
public ASTree getRight()
- 定義:
- クラス
ASTree
内の getRight
setLeft
public void setLeft(ASTree _left)
- 定義:
- クラス
ASTree
内の setLeft
setRight
public void setRight(ASTree _right)
- 定義:
- クラス
ASTree
内の setRight