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

#include <AstNodeVisitMapping.h>

Inheritance diagram for AstNodeVisitMapping:
Collaboration diagram for AstNodeVisitMapping:

Public Types

typedef std::map< std::string,
int > 
MappingType
 
typedef MappingType::value_type MappingPairType
 

Public Member Functions

 AstNodeVisitMapping (int pn)
 
void visit (SgNode *node)
 this method is called at every traversed node. More...
 

Public Attributes

MappingType address_pagenum
 
int pagenum
 

Additional Inherited Members

- Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
typedef
AstSuccessorsSelectors::SuccessorsContainer 
SuccessorsContainer
 
typedef SuccessorsContainerSuccessorsContainerRef
 
- Protected Member Functions inherited from AstSimpleProcessing
virtual void atTraversalStart ()
 GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actually visited; can be used to perform a "last-minute" computation of attributes that may have changed since the constructor was executed, but are constant during the traversal itself. More...
 
virtual void atTraversalEnd ()
 

Detailed Description

Definition at line 11 of file AstNodeVisitMapping.h.

Member Typedef Documentation

typedef std::map<std::string,int> AstNodeVisitMapping::MappingType

Definition at line 14 of file AstNodeVisitMapping.h.

typedef MappingType::value_type AstNodeVisitMapping::MappingPairType

Definition at line 15 of file AstNodeVisitMapping.h.

Constructor & Destructor Documentation

AstNodeVisitMapping::AstNodeVisitMapping ( int  pn)
inline

Definition at line 13 of file AstNodeVisitMapping.h.

Member Function Documentation

void AstNodeVisitMapping::visit ( SgNode astNode)
virtual

this method is called at every traversed node.

Implements AstSimpleProcessing.

Member Data Documentation

MappingType AstNodeVisitMapping::address_pagenum

Definition at line 16 of file AstNodeVisitMapping.h.

int AstNodeVisitMapping::pagenum

Definition at line 17 of file AstNodeVisitMapping.h.


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