ROSE
0.9.6a
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AstTextAttributesHandling.h
Go to the documentation of this file.
1
// Author: Markus Schordan
2
// $Id: AstTextAttributesHandling.h,v 1.2 2006/04/24 00:21:32 dquinlan Exp $
3
4
#ifndef ASTTEXTATTRIBUTEHANDLING_H
5
#define ASTTEXTATTRIBUTEHANDLING_H
6
7
#include <string>
8
#include <sstream>
9
#include <iomanip>
10
11
#include "
Cxx_Grammar.h
"
12
#include "
AstProcessing.h
"
13
14
class
AstTextAttribute
:
public
AstAttribute
{
15
public
:
16
AstTextAttribute
(std::string s) :
source
(s) {}
17
virtual
std::string
toString
() {
return
source
; }
18
protected
:
19
std::string
source
;
20
};
21
22
class
AstTextAttributesHandling
:
public
SgSimpleProcessing
{
23
public
:
24
AstTextAttributesHandling
(
SgProject
* p);
25
~AstTextAttributesHandling
();
26
void
setAll
();
27
void
removeAll
();
28
protected
:
29
enum
{
M_set
,
M_remove
}
mode
;
30
virtual
void
visit
(
SgNode
* node);
31
SgProject
*
projectnode
;
32
};
33
34
#endif
rose-edg4x
src
midend
astProcessing
AstTextAttributesHandling.h
Generated on Mon May 5 2014 17:28:51 for ROSE by
1.8.4