ROSE
0.9.6a
|
#include <AstCombinedSimpleProcessing.h>
Public Types | |
typedef AstPrePostProcessing | TraversalType |
typedef TraversalType * | TraversalPtr |
typedef std::vector< TraversalPtr > | TraversalPtrList |
Public Member Functions | |
AstCombinedPrePostProcessing () | |
default constructor More... | |
AstCombinedPrePostProcessing (const TraversalPtrList &) | |
constructor that makes an internal copy of an existing list of traversals More... | |
void | addTraversal (TraversalPtr) |
simple function for adding a traversal to the internal list More... | |
TraversalPtrList & | get_traversalPtrListRef () |
function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.) More... | |
Public Member Functions inherited from AstPrePostProcessing | |
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) |
these methods are called at every traversed node. More... | |
virtual void | postOrderVisit (SgNode *astNode) |
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 Attributes | |
TraversalPtrList | traversals |
Private Attributes | |
TraversalPtrList::iterator | tBegin |
TraversalPtrList::iterator | tEnd |
TraversalPtrList::size_type | numberOfTraversals |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Definition at line 46 of file AstCombinedSimpleProcessing.h.
Definition at line 50 of file AstCombinedSimpleProcessing.h.
Definition at line 51 of file AstCombinedSimpleProcessing.h.
typedef std::vector<TraversalPtr> AstCombinedPrePostProcessing::TraversalPtrList |
Definition at line 52 of file AstCombinedSimpleProcessing.h.
AstCombinedPrePostProcessing::AstCombinedPrePostProcessing | ( | ) |
default constructor
AstCombinedPrePostProcessing::AstCombinedPrePostProcessing | ( | const TraversalPtrList & | ) |
constructor that makes an internal copy of an existing list of traversals
void AstCombinedPrePostProcessing::addTraversal | ( | TraversalPtr | ) |
simple function for adding a traversal to the internal list
TraversalPtrList& AstCombinedPrePostProcessing::get_traversalPtrListRef | ( | ) |
function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.)
|
protectedvirtual |
these methods are called at every traversed node.
Implements AstPrePostProcessing.
Reimplemented in AstSharedMemoryParallelizablePrePostProcessing.
|
protectedvirtual |
this method is called at every traversed node after its children were traversed
Implements AstPrePostProcessing.
|
protectedvirtual |
functions called when the traversal starts and ends, respectively
Reimplemented from AstPrePostProcessing.
|
protectedvirtual |
Reimplemented from AstPrePostProcessing.
Reimplemented in AstSharedMemoryParallelizablePrePostProcessing.
|
protected |
Definition at line 74 of file AstCombinedSimpleProcessing.h.
|
private |
Definition at line 77 of file AstCombinedSimpleProcessing.h.
|
private |
Definition at line 77 of file AstCombinedSimpleProcessing.h.
|
private |
Definition at line 78 of file AstCombinedSimpleProcessing.h.