|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ast.ASTree
|
+--coins.ast.stmnt.TreeStmnt
|
+--coins.ast.stmnt.ForStmnt
For statement.
The for statement is decomposed into four parts:
for ( initializer ; conditin ; iterator )
statement
| フィールドの概要 |
| クラス coins.ast.stmnt.TreeStmnt から継承したフィールド |
left, right |
| コンストラクタの概要 | |
ForStmnt(java.lang.String fname,
int line)
|
|
| メソッドの概要 | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
Stmnt |
getBody()
Returns the loop body. |
Expr |
getCondition()
Returns the condition expression. |
Expr |
getInitializer()
Returns the initializer expression. |
Expr |
getIteration()
Returns the iteration expression. |
protected java.lang.String |
getTag()
Returns the type of this node. |
ForStmnt |
set(Expr init,
Expr cond,
Expr iterate,
CompoundStmnt body)
|
| クラス coins.ast.stmnt.TreeStmnt から継承したメソッド |
fileName, getLeft, getRight, lineNumber, setLeft, setRight |
| クラス coins.ast.ASTree から継承したメソッド |
putSeparator, rightToString, toString, toString1 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public ForStmnt(java.lang.String fname,
int line)
| メソッドの詳細 |
public ForStmnt set(Expr init,
Expr cond,
Expr iterate,
CompoundStmnt body)
public void accept(Visitor v)
ASTree の記述: atXXX() on the given visitor, where
XXX is the class name of the node object.
ASTree 内の acceptpublic Expr getInitializer()
public Expr getCondition()
public Expr getIteration()
public Stmnt getBody()
protected java.lang.String getTag()
ASTree の記述: toString().
TreeStmnt 内の getTag
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||