ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstCombinedPrePostProcessing Class Reference

#include <AstCombinedSimpleProcessing.h>

Inheritance diagram for AstCombinedPrePostProcessing:
Collaboration diagram for AstCombinedPrePostProcessing:

Public Types

typedef AstPrePostProcessing TraversalType
 
typedef TraversalTypeTraversalPtr
 
typedef std::vector< TraversalPtrTraversalPtrList
 

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...
 
TraversalPtrListget_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 SgTreeTraversaloperator= (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 SuccessorsContainerSuccessorsContainerRef
 

Detailed Description

Definition at line 46 of file AstCombinedSimpleProcessing.h.

Member Typedef Documentation

Constructor & Destructor Documentation

AstCombinedPrePostProcessing::AstCombinedPrePostProcessing ( )

default constructor

AstCombinedPrePostProcessing::AstCombinedPrePostProcessing ( const TraversalPtrList )

constructor that makes an internal copy of an existing list of traversals

Member Function Documentation

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.)

virtual void AstCombinedPrePostProcessing::preOrderVisit ( SgNode astNode)
protectedvirtual

these methods are called at every traversed node.

Implements AstPrePostProcessing.

Reimplemented in AstSharedMemoryParallelizablePrePostProcessing.

virtual void AstCombinedPrePostProcessing::postOrderVisit ( SgNode astNode)
protectedvirtual

this method is called at every traversed node after its children were traversed

Implements AstPrePostProcessing.

virtual void AstCombinedPrePostProcessing::atTraversalStart ( )
protectedvirtual

functions called when the traversal starts and ends, respectively

Reimplemented from AstPrePostProcessing.

virtual void AstCombinedPrePostProcessing::atTraversalEnd ( )
protectedvirtual

Member Data Documentation

TraversalPtrList AstCombinedPrePostProcessing::traversals
protected

Definition at line 74 of file AstCombinedSimpleProcessing.h.

TraversalPtrList::iterator AstCombinedPrePostProcessing::tBegin
private

Definition at line 77 of file AstCombinedSimpleProcessing.h.

TraversalPtrList::iterator AstCombinedPrePostProcessing::tEnd
private

Definition at line 77 of file AstCombinedSimpleProcessing.h.

TraversalPtrList::size_type AstCombinedPrePostProcessing::numberOfTraversals
private

Definition at line 78 of file AstCombinedSimpleProcessing.h.


The documentation for this class was generated from the following file: