ROSE
0.9.6a
|
Attribute corresponding to an SgNode. More...
#include <AstAttributeMechanism.h>
Public Member Functions | |
SgNode * | getNode () |
void | setNode (SgNode *) |
AstSgNodeAttribute () | |
AstSgNodeAttribute (SgNode *node) | |
virtual AstAttribute * | copy () |
Public Member Functions inherited from AstAttribute | |
AstAttribute () | |
virtual | ~AstAttribute () |
virtual std::string | toString () |
AstAttribute * | constructor () |
std::string | attribute_class_name () |
virtual int | packed_size () |
virtual char * | packed_data () |
virtual void | unpacked_data (int size, char *data) |
virtual std::string | additionalNodeOptions () |
virtual std::vector < AttributeEdgeInfo > | additionalEdgeInfo () |
virtual std::vector < AttributeNodeInfo > | additionalNodeInfo () |
virtual bool | commentOutNodeInGraph () |
Private Attributes | |
SgNode * | node |
Attribute corresponding to an SgNode.
A SgNode attribute may be used to "dynamically add" an SgNode field to an AST node.
Definition at line 216 of file AstAttributeMechanism.h.
AstSgNodeAttribute::AstSgNodeAttribute | ( | ) |
AstSgNodeAttribute::AstSgNodeAttribute | ( | SgNode * | node) |
SgNode* AstSgNodeAttribute::getNode | ( | ) |
void AstSgNodeAttribute::setNode | ( | SgNode * | ) |
|
virtual |
Reimplemented from AstAttribute.
|
private |
Definition at line 218 of file AstAttributeMechanism.h.