ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstSgNodeAttribute Class Reference

Attribute corresponding to an SgNode. More...

#include <AstAttributeMechanism.h>

Inheritance diagram for AstSgNodeAttribute:
Collaboration diagram for AstSgNodeAttribute:

Public Member Functions

SgNodegetNode ()
 
void setNode (SgNode *)
 
 AstSgNodeAttribute ()
 
 AstSgNodeAttribute (SgNode *node)
 
virtual AstAttributecopy ()
 
- Public Member Functions inherited from AstAttribute
 AstAttribute ()
 
virtual ~AstAttribute ()
 
virtual std::string toString ()
 
AstAttributeconstructor ()
 
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

SgNodenode
 

Detailed Description

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.

Constructor & Destructor Documentation

AstSgNodeAttribute::AstSgNodeAttribute ( )
AstSgNodeAttribute::AstSgNodeAttribute ( SgNode node)

Member Function Documentation

SgNode* AstSgNodeAttribute::getNode ( )
void AstSgNodeAttribute::setNode ( SgNode )
virtual AstAttribute* AstSgNodeAttribute::copy ( )
virtual

Reimplemented from AstAttribute.

Member Data Documentation

SgNode* AstSgNodeAttribute::node
private

Definition at line 218 of file AstAttributeMechanism.h.


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