ROSE
0.9.6a
|
Attribute that describes the variables modified by a given expression. More...
Public Member Functions | |
VarRefSynthAttr () | |
Create the attribute with no refs. More... | |
VarRefSynthAttr (SgNode *thisNode) | |
Create the attribute with thisNode. More... | |
VarRefSynthAttr (const std::vector< SgNode * > &subtree, SgNode *thisNode) | |
Create the attribute with the subtree and thisNode. More... | |
VarRefSynthAttr (const std::vector< SgNode * > &subtree) | |
Create the attribute with the provided refs. More... | |
const std::vector< SgNode * > & | getRefs () |
Get the references for this node and below. More... | |
void | setRefs (const std::vector< SgNode * > &newRefs) |
Set the references for this node and below. More... | |
Private Attributes | |
std::vector< SgNode * > | refs |
Stores all of the varRefs from the subtree. More... | |
Attribute that describes the variables modified by a given expression.
Definition at line 846 of file VariableRenaming.h.
|
inline |
Create the attribute with no refs.
Definition at line 856 of file VariableRenaming.h.
|
inline |
Create the attribute with thisNode.
thisNode | The node to add to the list of refs. |
Definition at line 862 of file VariableRenaming.h.
References refs.
|
inline |
Create the attribute with the subtree and thisNode.
subtree | The list of nodes to copy to this attribute. |
thisNode | The node to append to the list of refs. |
Definition at line 872 of file VariableRenaming.h.
References refs.
|
inline |
Create the attribute with the provided refs.
subtree | The refs to use for this attribute. |
Definition at line 882 of file VariableRenaming.h.
References refs.
|
inline |
Get the references for this node and below.
Definition at line 891 of file VariableRenaming.h.
References refs.
|
inline |
Set the references for this node and below.
newRefs | A constant reference to the refs to copy to this node. |
Definition at line 897 of file VariableRenaming.h.
References refs.
|
private |
Stores all of the varRefs from the subtree.
Definition at line 851 of file VariableRenaming.h.
Referenced by getRefs(), setRefs(), and VarRefSynthAttr().