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

#include <AstNodePtrs.h>

Inheritance diagram for AstNodePtrs:
Collaboration diagram for AstNodePtrs:

Public Member Functions

 AstNodePtrs ()
 
 ~AstNodePtrs ()
 

Protected Types

typedef std::vector< SgNode * > AstNodePointersList
 

Protected Member Functions

virtual AstNodePtrSynAttr evaluateSynthesizedAttribute (SgNode *node, SynthesizedAttributesList)
 pure virtual function which must be implemented to compute the synthesized attribute at a node. More...
 
virtual void visitWithAstNodePointersList (SgNode *node, AstNodePointersList l)
 

Additional Inherited Members

- Public Types inherited from AstBottomUpProcessing< AstNodePtrSynAttr >
typedef SgTreeTraversal
< DummyAttribute,
AstNodePtrSynAttr >
::SynthesizedAttributesList 
SynthesizedAttributesList
 
typedef SynthesizedAttributesList SubTreeSynthesizedAttributes
 

Detailed Description

Definition at line 22 of file AstNodePtrs.h.

Member Typedef Documentation

typedef std::vector<SgNode*> AstNodePtrs::AstNodePointersList
protected

Definition at line 28 of file AstNodePtrs.h.

Constructor & Destructor Documentation

AstNodePtrs::AstNodePtrs ( )
AstNodePtrs::~AstNodePtrs ( )

Member Function Documentation

virtual AstNodePtrSynAttr AstNodePtrs::evaluateSynthesizedAttribute ( SgNode ,
SynthesizedAttributesList   
)
protectedvirtual

pure virtual function which must be implemented to compute the synthesized attribute at a node.

The list of synthesized attributes consists of the synthesized attributes computed at the children node of the current node. The inherited attribute value is computed by the function evaluateInheritedAttribute at the same node and simply passed to this function. Use the typedef SynthesizedAttributeList as type for the synthesized attributes list.

Implements AstBottomUpProcessing< AstNodePtrSynAttr >.

virtual void AstNodePtrs::visitWithAstNodePointersList ( SgNode node,
AstNodePointersList  l 
)
inlineprotectedvirtual

Definition at line 30 of file AstNodePtrs.h.


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