|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecttgl.stree.ReturnTree
public class ReturnTree
return文の構文木のクラス。
| コンストラクタの概要 | |
|---|---|
ReturnTree(ExprTree expr,
int n)
return文の構文木のインスタンスを作成する。 |
|
| メソッドの概要 | |
|---|---|
void |
accept(STreeVisitor v)
ビジタクラスに定義されたメソッド caseReturnTree を呼び出す。 |
ExprTree |
getExpression()
return文が返す値を与える式の構文木を取得する。 |
int |
getParamNumber()
このreturn文を含む手続き呼び出しの引数の個数 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ReturnTree(ExprTree expr,
int n)
expr - return文が返す値を与える式の構文木(なければnull)n - このreturn文を含む手続き呼び出しの引数の個数| メソッドの詳細 |
|---|
public ExprTree getExpression()
public int getParamNumber()
public void accept(STreeVisitor v)
STree 内の accept
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||