ROSE 0.11.145.192
|
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. | |
Public Member Functions inherited from AstAttribute | |
virtual OwnershipPolicy | getOwnershipPolicy () const |
Who owns this attribute. | |
virtual AstAttribute * | constructor () const |
Virtual default constructor. | |
virtual AstAttribute * | copy () const |
Virtual copy constructor. | |
virtual AstAttribute * | copy () |
virtual std::string | attribute_class_name () const |
Attribute class name. | |
virtual bool | commentOutNodeInGraph () |
Eliminate IR nodes in DOT graphs. | |
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... | |
|
inline |
Definition at line 16 of file AstTextAttributesHandling.h.
|
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.
|
protected |
Definition at line 19 of file AstTextAttributesHandling.h.