coins.aflow
Class UDChainImpl

java.lang.Object
  extended bycoins.aflow.UDChainImpl
All Implemented Interfaces:
UDChain

public class UDChainImpl
extends java.lang.Object
implements UDChain


Nested Class Summary
 
Nested classes inherited from class coins.aflow.UDChain
UDChain.UseNode
 
Field Summary
protected  java.util.List fDefList
           
 FlowRoot flowRoot
           
protected  IR fUseNode
           
 
Fields inherited from interface coins.aflow.UDChain
PARAM, UNINITIALIZED, UNUSED
 
Constructor Summary
protected UDChainImpl(FlowRoot pFlowRoot, IR pUseNode)
           
 
Method Summary
 void addDefNode(IR pDefNode)
          Adds a specified node to this UDChain.
 java.util.List getDefList()
          Returns the list of Def nodes for this UDChain.
 IR getUseNode()
          Returns the Use node for this UDChian.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

flowRoot

public final FlowRoot flowRoot

fUseNode

protected IR fUseNode

fDefList

protected java.util.List fDefList
Constructor Detail

UDChainImpl

protected UDChainImpl(FlowRoot pFlowRoot,
                      IR pUseNode)
Method Detail

getUseNode

public IR getUseNode()
Description copied from interface: UDChain
Returns the Use node for this UDChian.

Specified by:
getUseNode in interface UDChain

getDefList

public java.util.List getDefList()
Description copied from interface: UDChain
Returns the list of Def nodes for this UDChain. Here, a Def node is a top subtree node for the statement/instruction that sets the value for the Sym associated with this UDChain.

Specified by:
getDefList in interface UDChain

addDefNode

public void addDefNode(IR pDefNode)
Description copied from interface: UDChain
Adds a specified node to this UDChain.

Specified by:
addDefNode in interface UDChain

toString

public java.lang.String toString()