|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ir.hir.HirIteratorImpl
HirIteratorImpl class Traverse HIR node in depth first order.
フィールドの概要 | |
protected int |
fDbgLevel
|
protected int |
fDebLevel
|
protected int |
fNodeCount
|
protected java.util.ArrayList |
fNodeList
|
protected java.util.Iterator |
fNodeListIterator
|
protected int |
fStmtCount
|
protected java.util.ArrayList |
fStmtList
|
protected java.util.Iterator |
fStmtListIterator
|
HirRoot |
hirRoot
|
IoRoot |
ioRoot
|
コンストラクタの概要 | |
HirIteratorImpl(HirRoot pHirRoot,
IR pSubtree,
boolean pGoUpward)
HirIteratorImpl Create an itrerator that traverses nodes of HIR subtree. |
メソッドの概要 | |
HIR |
getNextExecutableNode()
next Get the node that refer/set data or change control flow directly. |
Stmt |
getNextStmt()
|
boolean |
hasNext()
|
boolean |
hasNextStmt()
|
HIR |
next()
next Get the next node and advance current point for iteration. |
Stmt |
nextStmt()
nextStmt Get the next statement skipping other nodes that are not Stmt. |
protected void |
recordNodes(HIR pHir)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public final HirRoot hirRoot
public final IoRoot ioRoot
protected int fDbgLevel
protected java.util.ArrayList fNodeList
protected java.util.ArrayList fStmtList
protected int fNodeCount
protected int fStmtCount
protected java.util.Iterator fNodeListIterator
protected java.util.Iterator fStmtListIterator
protected int fDebLevel
コンストラクタの詳細 |
public HirIteratorImpl(HirRoot pHirRoot, IR pSubtree, boolean pGoUpward)
pSubtree
- Subtree to be traversed.pGoUpward
- true if traverse of nodes positioned
higher than the root of pSubtree is permitted.
Normally this is false; true is used in BBlockNodeIterator.メソッドの詳細 |
public HIR next()
HirIterator
の記述:
HirIterator
内の next
public boolean hasNext()
HirIterator
内の hasNext
public boolean hasNextStmt()
HirIterator
内の hasNextStmt
public HIR getNextExecutableNode()
HirIterator
の記述:
HirIterator
内の getNextExecutableNode
public Stmt nextStmt()
HirIterator
の記述:
HirIterator
内の nextStmt
public Stmt getNextStmt()
HirIterator
内の getNextStmt
protected void recordNodes(HIR pHir)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |