Class AstPrePostProcessing#
Defined in File AstSimpleProcessing.h
Inheritance Relationships#
Base Type#
public SgTreeTraversal< DummyAttribute, DummyAttribute >(Template Class SgTreeTraversal)
Derived Types#
public AstCombinedPrePostProcessing(Class AstCombinedPrePostProcessing)public TestForParentsMatchingASTStructure(Class TestForParentsMatchingASTStructure)
Class Documentation#
-
class AstPrePostProcessing : public SgTreeTraversal<DummyAttribute, DummyAttribute>#
Subclassed by AstCombinedPrePostProcessing, TestForParentsMatchingASTStructure
Public 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).
Protected 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()#
Friends
- friend class AstCombinedPrePostProcessing
-
void traverse(SgNode *node)#