Public Member Functions | Protected Attributes | List of all members
AstTextAttribute Class Reference


Definition at line 14 of file AstTextAttributesHandling.h.

Inheritance diagram for AstTextAttribute:
Inheritance graph
Collaboration diagram for AstTextAttribute:
Collaboration graph

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 AstAttributeconstructor () const
 Virtual default constructor. More...
virtual AstAttributecopy () const
 Virtual copy constructor. More...
virtual AstAttributecopy ()
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< AttributeEdgeInfoadditionalEdgeInfo ()
 DOT support.
virtual std::vector< AttributeNodeInfoadditionalNodeInfo ()
 DOT support.

Protected Attributes

std::string source

Additional Inherited Members

- Public Types inherited from AstAttribute
enum  OwnershipPolicy {
 Who owns this attribute. More...

Member Function Documentation

virtual std::string AstTextAttribute::toString ( )

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.

The documentation for this class was generated from the following file: