ROSE  0.9.9.109
AstNodeVisitMapping.h
1 // Author: Markus Schordan
2 // $Id: AstNodeVisitMapping.h,v 1.2 2006/04/24 00:21:32 dquinlan Exp $
3 
4 #ifndef ASTNODEVISITMAPPING_H
5 #define ASTNODEVISITMAPPING_H
6 
7 #include <map>
8 #include <string>
9 #include "AstProcessing.h"
10 
12 public:
13  AstNodeVisitMapping(int pn):pagenum(pn) {}
14  typedef std::map<std::string,int> MappingType;
15  typedef MappingType::value_type MappingPairType;
16  MappingType address_pagenum;
17  int pagenum;
18  void visit(SgNode* node);
19 };
20 
21 #endif
This class represents the base class for all IR nodes within Sage III.
Definition: Cxx_Grammar.h:8322
void visit(SgNode *node)
this method is called at every traversed node.