ROSE
0.11.96.11
|
Definition at line 46 of file AstCombinedSimpleProcessing.h.
Public Types | |
typedef AstPrePostProcessing | TraversalType |
typedef TraversalType * | TraversalPtr |
typedef std::vector< TraversalPtr > | TraversalPtrList |
Public Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef StackFrameVector< DummyAttribute > | SynthesizedAttributesList |
Public Member Functions | |
AstCombinedPrePostProcessing () | |
default constructor | |
AstCombinedPrePostProcessing (const TraversalPtrList &) | |
constructor that makes an internal copy of an existing list of traversals | |
void | addTraversal (TraversalPtr) |
simple function for adding a traversal to the internal list | |
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.) | |
Public Member Functions inherited from AstPrePostProcessing | |
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) |
these methods are called at every traversed node. | |
virtual void | postOrderVisit (SgNode *astNode) |
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) |
Protected Attributes | |
TraversalPtrList | traversals |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |