|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the reverse of the DefUseCell interface.
| Nested Class Summary | |
static class |
UDChain.UseNode
|
| Field Summary | |
static IR |
PARAM
Indicates the (imaginary?) node that initializes the formal parameter. |
static IR |
UNINITIALIZED
Indicates that the variable may not have been set LOCALLY, i.e., within the subprogram, before used. |
static IR |
UNUSED
Indicates that the variable will not be used LOCALLY, i.e., within the subprogram. |
| 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. |
| Field Detail |
public static final IR UNINITIALIZED
Indicates that the variable may not have been set LOCALLY, i.e., within the subprogram, before used. This may be an entry to what is returned by getDefList(). The name "UNINITIALIZED" may be misleading, since external variables may have already been initialized outside of the scope of this analysis (SubpFlow).
Please note that this is not a full-featured "IR node", and call to most of the methods in IR interface will fail (UnsupportedOperationException thrown).
public static final IR UNUSED
Indicates that the variable will not be used LOCALLY, i.e., within the subprogram. This may be returned by getUseNode(). The name "UNUSED" may be misleading, since external variables may be going to be used outside of the scope of this analysis (SubpFlow).
Please note that this is not a full-featured "IR node", and call to most of the methods in IR interface will fail (UnsupportedOperationException thrown).
public static final IR PARAM
Indicates the (imaginary?) node that initializes the formal parameter. This may be an entry for what is returned by getDefList().
Please note that this is not a full-featured "IR node", and call to most of the methods in IR interface will fail (UnsupportedOperationException thrown).
| Method Detail |
public IR getUseNode()
public java.util.List getDefList()
public void addDefNode(IR pDefNode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||