Skip to content

ASTtools::PrePostTraversal

Synopsis

Declared in <src/midend/programTransformation/astOutlining/PrePostTraversal.hh>

class PrePostTraversal
    : public AstTopDownBottomUpProcessing<_DummyAttribute, _DummyAttribute>

Base Classes

Name Description
AstTopDownBottomUpProcessing<_DummyAttribute, _DummyAttribute> Attribute evaluator for inherited and synthesized attributes.

Member Functions

Name Description
traverse
virtual void traverse(SgNode*); [virtual]
traverseWithinFile
virtual void traverseWithinFile(SgNode*); [virtual]
visitBottomUp
virtual void visitBottomUp(SgNode*) = 0; [virtual]
Called as we ascend the tree.
visitTopDown
virtual void visitTopDown(SgNode*) = 0; [virtual]
Called as we descend the tree.

Private Member Functions

Name
evaluateInheritedAttribute
virtual _DummyAttribute evaluateInheritedAttribute( SgNode* node, _DummyAttribute); [virtual]
evaluateSynthesizedAttribute
virtual _DummyAttribute evaluateSynthesizedAttribute( SgNode*, _DummyAttribute, SynthesizedAttributesList); [virtual]

Derived Classes

Name Description
IfDirectiveExtractor Traversal to extract '#if' directives.

Created with MrDocs