coins.aflow
Interface SetRefReprIterator

All Superinterfaces:
CoinsIterator, java.util.Iterator, java.util.ListIterator
All Known Implementing Classes:
SetRefReprListHir.SetRefReprListHirItr

public interface SetRefReprIterator
extends CoinsIterator

CoinsIterator tailored to SetRefReprList.


Method Summary
 void add(IR pIR)
          Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#add(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.
 void addAfter(IR pIR)
          Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the {link coins.aflow.util.CoinsIterator#addAfter(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.
 void remove()
          Removes a SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#remove()}, and in the case of HIR, also removes the subtree associated with the removed SetRefRepr.
 
Methods inherited from interface coins.aflow.util.CoinsIterator
add, addAfter, next, nextIndex, previous, previousIndex
 
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, set
 

Method Detail

remove

public void remove()
Removes a SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#remove()}, and in the case of HIR, also removes the subtree associated with the removed SetRefRepr.

Specified by:
remove in interface CoinsIterator

add

public void add(IR pIR)
Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#add(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.


addAfter

public void addAfter(IR pIR)
Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the {link coins.aflow.util.CoinsIterator#addAfter(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.