ROSE
0.11.145.192
src
midend
astProcessing
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
11
class
AstNodeVisitMapping
:
public
SgSimpleProcessing
{
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
AstNodeVisitMapping
Definition
AstNodeVisitMapping.h:11
AstNodeVisitMapping::visit
void visit(SgNode *node)
this method is called at every traversed node.
SgNode
This class represents the base class for all IR nodes within Sage III.
Definition
Cxx_Grammar.h:120
SgSimpleProcessing
Definition
AstSimpleProcessing.h:97
Generated on Mon Dec 16 2024 03:16:57 for ROSE by
1.9.8