ROSE 0.11.145.147
|
Definition at line 20 of file AstSimpleProcessing.h.
Public Member Functions | |
void | traverse (SgNode *node) |
traverse the entire AST | |
void | traverseWithinFile (SgNode *node) |
traverse only nodes which represent the same file as where the traversal was started | |
void | traverseInputFiles (SgProject *projectNode) |
traverse only nodes which represent files which were specified on the command line (=input files). | |
Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
DummyAttribute | traverse (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
DummyAttribute | traverseWithinFile (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
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 | |
virtual void | postOrderVisit (SgNode *astNode)=0 |
this method is called at every traversed node after its children were traversed | |
virtual void | atTraversalStart () |
functions called when the traversal starts and ends, respectively | |
virtual void | atTraversalEnd () |
Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
void | set_useDefaultIndexBasedTraversal (bool) |
Additional Inherited Members | |
Public Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef StackFrameVector< DummyAttribute > | SynthesizedAttributesList |
Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
|
protectedpure virtual |
this method is called at every traversed node before its children are traversed
Implemented in AstCombinedPrePostProcessing, and AstSharedMemoryParallelizablePrePostProcessing.
|
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 >.