Class VariableRenaming::VarRefSynthAttr#
Defined in File VariableRenaming.h
Nested Relationships#
This class is a nested type of Class VariableRenaming.
Class Documentation#
-
class VarRefSynthAttr#
Attribute that describes the variables modified by a given expression.
Public Functions
-
inline VarRefSynthAttr()#
Create the attribute with no refs.
-
inline VarRefSynthAttr(SgNode *thisNode)#
Create the attribute with thisNode.
- Parameters:
thisNode – The node to add to the list of refs.
-
inline VarRefSynthAttr(const std::vector<SgNode*> &subtree, SgNode *thisNode)#
Create the attribute with the subtree and thisNode.
- Parameters:
subtree – The list of nodes to copy to this attribute.
thisNode – The node to append to the list of refs.
-
inline VarRefSynthAttr(const std::vector<SgNode*> &subtree)#
Create the attribute with the provided refs.
- Parameters:
subtree – The refs to use for this attribute.
-
inline const std::vector<SgNode*> &getRefs()#
Get the references for this node and below.
- Returns:
A constant reference to the ref list.
-
inline void setRefs(const std::vector<SgNode*> &newRefs)#
Set the references for this node and below.
- Parameters:
newRefs – A constant reference to the refs to copy to this node.
-
inline VarRefSynthAttr()#