ROSE
0.9.6a
|
#include <AstSimpleProcessing.h>
Public Member Functions | |
void | traverse (SgNode *node) |
traverse the entire AST More... | |
void | traverseWithinFile (SgNode *node) |
traverse only nodes which represent the same file as where the traversal was started More... | |
void | traverseInputFiles (SgProject *projectNode) |
traverse only nodes which represent files which were specified on the command line (=input files). More... | |
Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
DummyAttribute | traverse (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder) |
DummyAttribute | traverseWithinFile (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder) |
virtual | ~SgTreeTraversal () |
SgTreeTraversal () | |
SgTreeTraversal (const SgTreeTraversal &) | |
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
Protected Member Functions | |
virtual void | preOrderVisit (SgNode *astNode)=0 |
this method is called at every traversed node before its children are traversed More... | |
virtual void | postOrderVisit (SgNode *astNode)=0 |
this method is called at every traversed node after its children were traversed More... | |
virtual void | atTraversalStart () |
functions called when the traversal starts and ends, respectively More... | |
virtual void | atTraversalEnd () |
Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
void | set_useDefaultIndexBasedTraversal (bool) |
Private Member Functions | |
DummyAttribute | evaluateInheritedAttribute (SgNode *astNode, DummyAttribute inheritedValue) |
DummyAttribute | evaluateSynthesizedAttribute (SgNode *astNode, DummyAttribute inheritedValue, SynthesizedAttributesList l) |
DummyAttribute | defaultSynthesizedAttribute (DummyAttribute inheritedValue) |
Friends | |
class | AstCombinedPrePostProcessing |
Definition at line 20 of file AstSimpleProcessing.h.
void AstPrePostProcessing::traverse | ( | SgNode * | node) |
traverse the entire AST
void AstPrePostProcessing::traverseWithinFile | ( | SgNode * | node) |
traverse only nodes which represent the same file as where the traversal was started
void AstPrePostProcessing::traverseInputFiles | ( | SgProject * | projectNode) |
traverse only nodes which represent files which were specified on the command line (=input files).
|
protectedpure virtual |
this method is called at every traversed node before its children are traversed
Implemented in AstSharedMemoryParallelizablePrePostProcessing, and AstCombinedPrePostProcessing.
|
protectedpure virtual |
this method is called at every traversed node after its children were traversed
Implemented in AstCombinedPrePostProcessing.
|
protectedvirtual |
functions called when the traversal starts and ends, respectively
Reimplemented from SgTreeTraversal< DummyAttribute, DummyAttribute >.
Reimplemented in AstCombinedPrePostProcessing.
|
protectedvirtual |
Reimplemented from SgTreeTraversal< DummyAttribute, DummyAttribute >.
Reimplemented in AstSharedMemoryParallelizablePrePostProcessing, and AstCombinedPrePostProcessing.
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Reimplemented from SgTreeTraversal< DummyAttribute, DummyAttribute >.
|
friend |
Definition at line 33 of file AstSimpleProcessing.h.