ROSE 0.11.145.147
Public Member Functions | Protected Member Functions | List of all members
AstPrePostProcessing Class Referenceabstract

Description

Definition at line 20 of file AstSimpleProcessing.h.

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

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 SgTreeTraversaloperator= (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
 

Member Function Documentation

◆ preOrderVisit()

virtual void AstPrePostProcessing::preOrderVisit ( SgNode astNode)
protectedpure virtual

this method is called at every traversed node before its children are traversed

Implemented in AstCombinedPrePostProcessing, and AstSharedMemoryParallelizablePrePostProcessing.

◆ postOrderVisit()

virtual void AstPrePostProcessing::postOrderVisit ( SgNode astNode)
protectedpure virtual

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

Implemented in AstCombinedPrePostProcessing.

◆ atTraversalStart()

virtual void AstPrePostProcessing::atTraversalStart ( )
protectedvirtual

functions called when the traversal starts and ends, respectively

Reimplemented from SgTreeTraversal< DummyAttribute, DummyAttribute >.

Reimplemented in AstCombinedPrePostProcessing.

◆ atTraversalEnd()

virtual void AstPrePostProcessing::atTraversalEnd ( )
protectedvirtual

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