|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecttgl.stree.UniExprTree
public class UniExprTree
単項演算子をもつ式の構文木のクラス。
| コンストラクタの概要 | |
|---|---|
UniExprTree(Operator operator,
ExprTree operand)
単項演算子をもつ式の構文木のインスタンスを作成する。 |
|
| メソッドの概要 | |
|---|---|
void |
accept(STreeVisitor v)
ビジタクラスに定義されたメソッド caseUniExprTree を呼び出す。 |
ExprTree |
getOperand()
単項演算子の引数である式の構文木を取得する。 |
Operator |
getOperator()
単項演算子を取得する。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public UniExprTree(Operator operator,
ExprTree operand)
operator - 単項演算子operand - 単項演算子の引数| メソッドの詳細 |
|---|
public Operator getOperator()
public ExprTree getOperand()
public void accept(STreeVisitor v)
STree 内の accept
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||