coins.aflow
インタフェース UDChain

既知の実装クラスの一覧:
UDChainImpl

public interface UDChain

This is the reverse of the DefUseCell interface.


入れ子クラスの概要
static class UDChain.UseNode
           
 
フィールドの概要
static IR PARAM
          Indicates the (imaginary?)
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.
 
メソッドの概要
 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.
 

フィールドの詳細

UNINITIALIZED

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).


UNUSED

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).


PARAM

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).

メソッドの詳細

getUseNode

public IR getUseNode()
Returns the Use node for this UDChian.


getDefList

public java.util.List getDefList()
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.


addDefNode

public void addDefNode(IR pDefNode)
Adds a specified node to this UDChain.