coins.aflow
Class UDChainImpl
java.lang.Object
coins.aflow.UDChainImpl
- All Implemented Interfaces:
- UDChain
- public class UDChainImpl
- extends java.lang.Object
- implements UDChain
|
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 |
flowRoot
public final FlowRoot flowRoot
fUseNode
protected IR fUseNode
fDefList
protected java.util.List fDefList
UDChainImpl
protected UDChainImpl(FlowRoot pFlowRoot,
IR pUseNode)
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()