Skip to content

AstPrePostProcessing

Synopsis

Declared in <src/midend/astProcessing/AstSimpleProcessing.h>

Base Classes

Name

Description

SgTreeTraversal<DummyAttribute, DummyAttribute>

Temporary traversal base class (do not use).

Member Functions

Name

Description

traverse

traverse the entire AST

traverseInputFiles

traverse only nodes which represent files which were specified on the command line (=input files).

traverseWithinFile

traverse only nodes which represent the same file as where the traversal was started

Protected Member Functions

Name

Description

atTraversalEnd [virtual]

atTraversalStart [virtual]

functions called when the traversal starts and ends, respectively

postOrderVisit [virtual]

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

preOrderVisit [virtual]

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

Private Member Functions

Friends

Name

Description

AstCombinedPrePostProcessing

Derived Classes