coins.aflow
インタフェース BBlockSubtreeIterator

既知の実装クラスの一覧:
BBlockStmtIterator

public interface BBlockSubtreeIterator

BBlockSubtreeIterator interface // (##6) Basic block subtree iterator to traverse top-subtree in a basic block.


メソッドの概要
 boolean hasNext()
          hasNext:
 IR next()
          next: Get the next top subtree in the basic block indicated by this iterator.
 

メソッドの詳細

next

public IR next()
next: Get the next top subtree in the basic block indicated by this iterator. If no one is left, return null. The end of top subtree iteration should be checked not by null of next() but by hasNext() because there might be a case where the last top subtree is null (in such case as there remains a sequence of nodes but no top subtree is remaining). //##7


hasNext

public boolean hasNext()
hasNext:

戻り値:
true if there remains thte next top subtree in the basic block.