polyglot.visit
Class DeadCodeEliminator.DataFlowItem

java.lang.Object
  extended by polyglot.visit.DataFlow.Item
      extended by polyglot.visit.DeadCodeEliminator.DataFlowItem
Enclosing class:
DeadCodeEliminator

protected static class DeadCodeEliminator.DataFlowItem
extends DataFlow.Item


Constructor Summary
protected DeadCodeEliminator.DataFlowItem()
          Constructor for creating an empty set.
protected DeadCodeEliminator.DataFlowItem(DeadCodeEliminator.DataFlowItem dfi)
          Deep copy constructor.
 
Method Summary
 void add(LocalInstance li)
           
 void addAll(java.util.Set lis)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
protected  boolean needDecl(LocalInstance li)
           
protected  boolean needDef(LocalInstance li)
           
 void remove(LocalInstance li)
           
 void removeAll(java.util.Set lis)
           
 void removeDecl(LocalInstance li)
           
 java.lang.String toString()
           
 void union(DeadCodeEliminator.DataFlowItem dfi)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeadCodeEliminator.DataFlowItem

protected DeadCodeEliminator.DataFlowItem()
Constructor for creating an empty set.


DeadCodeEliminator.DataFlowItem

protected DeadCodeEliminator.DataFlowItem(DeadCodeEliminator.DataFlowItem dfi)
Deep copy constructor.

Method Detail

add

public void add(LocalInstance li)

addAll

public void addAll(java.util.Set lis)

remove

public void remove(LocalInstance li)

removeAll

public void removeAll(java.util.Set lis)

removeDecl

public void removeDecl(LocalInstance li)

union

public void union(DeadCodeEliminator.DataFlowItem dfi)

needDecl

protected boolean needDecl(LocalInstance li)

needDef

protected boolean needDef(LocalInstance li)

hashCode

public int hashCode()
Specified by:
hashCode in class DataFlow.Item

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class DataFlow.Item

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object