ROSE
0.11.96.11
|
Definition at line 14 of file AstTextAttributesHandling.h.
Public Member Functions | |
AstTextAttribute (std::string s) | |
virtual std::string | toString () |
Convert an attribute to a string. More... | |
Public Member Functions inherited from AstAttribute | |
virtual OwnershipPolicy | getOwnershipPolicy () const |
Who owns this attribute. More... | |
virtual AstAttribute * | constructor () const |
Virtual default constructor. More... | |
virtual AstAttribute * | copy () const |
Virtual copy constructor. More... | |
virtual AstAttribute * | copy () |
virtual std::string | attribute_class_name () const |
Attribute class name. More... | |
virtual bool | commentOutNodeInGraph () |
Eliminate IR nodes in DOT graphs. More... | |
virtual int | packed_size () |
Packing support. | |
virtual char * | packed_data () |
Packing support. | |
virtual void | unpacked_data (int size, char *data) |
Packing support. | |
virtual std::string | additionalNodeOptions () |
DOT support. | |
virtual std::vector< AttributeEdgeInfo > | additionalEdgeInfo () |
DOT support. | |
virtual std::vector< AttributeNodeInfo > | additionalNodeInfo () |
DOT support. | |
Protected Attributes | |
std::string | source |
Additional Inherited Members | |
Public Types inherited from AstAttribute | |
enum | OwnershipPolicy { CONTAINER_OWNERSHIP, NO_OWNERSHIP, CUSTOM_OWNERSHIP, UNKNOWN_OWNERSHIP } |
Who owns this attribute. More... | |
|
inlinevirtual |
Convert an attribute to a string.
This is used by other components to print the value of an attribute. For example the pdf generation calls this function to print the value of an attribute in the pdf file. The default implementation is to return the attribute address in the heap as a string.
Reimplemented from AstAttribute.
Definition at line 17 of file AstTextAttributesHandling.h.