ROSE
0.11.145.237
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
c
d
g
h
i
l
m
n
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
i
k
l
m
o
p
s
t
v
w
x
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Related Symbols
b
i
o
Files
File List
Examples
src
midend
astProcessing
AstNodePtrs.h
1
// Author: Markus Schordan
2
// $Id: AstNodePtrs.h,v 1.3 2008/01/08 02:56:38 dquinlan Exp $
3
4
#ifndef ASTNODEPTRS_H
5
#define ASTNODEPTRS_H
6
7
#include <string>
8
#include <iomanip>
9
#include "AstProcessing.h"
10
11
// DQ (8/10/2004):
12
// This class appears to return a list of all traversed AST nodes. It is equivalent to the
13
// AstQuery operator with the input variant V_SgNode. Not sure how important this mechanism
14
// is (appears to be used in ASTConsistencyTests.[Ch]).
15
16
struct
AstNodePtrSynAttr
17
{
18
SgNode
* node;
19
AstNodePtrSynAttr
() { node = NULL; }
20
};
16
struct
AstNodePtrSynAttr
{
…
};
21
22
class
AstNodePtrs
:
public
SgBottomUpProcessing
<AstNodePtrSynAttr>
23
{
24
public
:
25
AstNodePtrs
();
26
~AstNodePtrs
();
27
protected
:
28
typedef
std::vector<SgNode*> AstNodePointersList;
29
virtual
AstNodePtrSynAttr
evaluateSynthesizedAttribute
(
SgNode
* node, SynthesizedAttributesList );
30
virtual
void
visitWithAstNodePointersList(
SgNode
*, AstNodePointersList) {}
31
private
:
32
};
22
class
AstNodePtrs
:
public
SgBottomUpProcessing
<AstNodePtrSynAttr> {
…
};
33
34
#endif
AstNodePtrs
Definition
AstNodePtrs.h:23
AstNodePtrs::evaluateSynthesizedAttribute
virtual AstNodePtrSynAttr evaluateSynthesizedAttribute(SgNode *node, SynthesizedAttributesList)
pure virtual function which must be implemented to compute the synthesized attribute at a node.
SgBottomUpProcessing
Definition
AstProcessing.h:366
SgNode
This class represents the base class for all IR nodes within Sage III.
Definition
Cxx_Grammar.h:124
AstNodePtrSynAttr
Definition
AstNodePtrs.h:17
Generated on Mon Mar 10 2025 00:08:54 for ROSE by
1.9.8