ROSE 0.11.145.147
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AstCombinedPrePostProcessing Class Reference

Description

Definition at line 46 of file AstCombinedSimpleProcessing.h.

Inheritance diagram for AstCombinedPrePostProcessing:
Inheritance graph
[legend]
Collaboration diagram for AstCombinedPrePostProcessing:
Collaboration graph
[legend]

Public Types

typedef AstPrePostProcessing TraversalType
 
typedef TraversalTypeTraversalPtr
 
typedef std::vector< TraversalPtrTraversalPtrList
 
- 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 SgTreeTraversaloperator= (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
 

Member Typedef Documentation

◆ TraversalType

Definition at line 50 of file AstCombinedSimpleProcessing.h.

◆ TraversalPtr

Definition at line 51 of file AstCombinedSimpleProcessing.h.

◆ TraversalPtrList

typedef std::vector<TraversalPtr> AstCombinedPrePostProcessing::TraversalPtrList

Definition at line 52 of file AstCombinedSimpleProcessing.h.

Member Function Documentation

◆ preOrderVisit()

virtual void AstCombinedPrePostProcessing::preOrderVisit ( SgNode astNode)
protectedvirtual

these methods are called at every traversed node.

Implements AstPrePostProcessing.

Reimplemented in AstSharedMemoryParallelizablePrePostProcessing.

◆ postOrderVisit()

virtual void AstCombinedPrePostProcessing::postOrderVisit ( SgNode astNode)
protectedvirtual

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

Implements AstPrePostProcessing.

◆ atTraversalStart()

virtual void AstCombinedPrePostProcessing::atTraversalStart ( )
protectedvirtual

functions called when the traversal starts and ends, respectively

Reimplemented from AstPrePostProcessing.

◆ atTraversalEnd()

virtual void AstCombinedPrePostProcessing::atTraversalEnd ( )
protectedvirtual

Reimplemented from AstPrePostProcessing.

Member Data Documentation

◆ traversals

TraversalPtrList AstCombinedPrePostProcessing::traversals
protected

Definition at line 74 of file AstCombinedSimpleProcessing.h.


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