tgl.stree
クラス CondStmtPair

java.lang.Object
  上位を拡張 tgl.stree.CondStmtPair

public class CondStmtPair
extends java.lang.Object

条件の構文木と文リストの中間コード(構文木の列)のペア


コンストラクタの概要
CondStmtPair(CondTree condition, Code code)
          条件の構文木と文リストの中間コード(構文木の列)のペアの インスタンスを作成する。
 
メソッドの概要
 Code getCode()
          文リストの中間コードを取得する。
 CondTree getCondition()
          条件の構文木を取得する。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CondStmtPair

public CondStmtPair(CondTree condition,
                    Code code)
条件の構文木と文リストの中間コード(構文木の列)のペアの インスタンスを作成する。このインスタンスは、if文の構文木の要素になる。

パラメータ:
condition - 条件の構文木
code - 文リストの中間コード
メソッドの詳細

getCondition

public CondTree getCondition()
条件の構文木を取得する。

戻り値:
条件の構文木

getCode

public Code getCode()
文リストの中間コードを取得する。

戻り値:
構文木の列