7#ifndef ASTPROCESSINGSIMPLE_H 
    8#define ASTPROCESSINGSIMPLE_H 
   10#include "AstProcessing.h" 
   44    virtual void atTraversalEnd();
 
   47    DummyAttribute evaluateInheritedAttribute(
SgNode *astNode, DummyAttribute inheritedValue);
 
   48    DummyAttribute evaluateSynthesizedAttribute(
SgNode* astNode, DummyAttribute inheritedValue,
 
   50    DummyAttribute defaultSynthesizedAttribute(DummyAttribute inheritedValue);
 
 
   63    typedef t_traverseOrder Order;
 
   86    virtual void atTraversalEnd();
 
   89    DummyAttribute evaluateInheritedAttribute(
SgNode *astNode, DummyAttribute inheritedValue);
 
   90    DummyAttribute evaluateSynthesizedAttribute(
SgNode* astNode, DummyAttribute inheritedValue,
 
   92    DummyAttribute defaultSynthesizedAttribute(DummyAttribute inheritedValue);
 
 
void traverse(SgNode *node)
traverse the entire AST
void traverseInputFiles(SgProject *projectNode)
traverse only nodes which represent files which were specified on the command line (=input files).
virtual void postOrderVisit(SgNode *astNode)=0
this method is called at every traversed node after its children were traversed
virtual void preOrderVisit(SgNode *astNode)=0
this method is called at every traversed node before its children are traversed
virtual void atTraversalStart()
functions called when the traversal starts and ends, respectively
void traverseWithinFile(SgNode *node)
traverse only nodes which represent the same file as where the traversal was started
Class for traversing the AST.
void traverseInputFiles(SgProject *projectNode, Order treeTraversalOrder)
traverse only nodes which represent files which were specified on the command line (=input files).
virtual void atTraversalStart()
GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actu...
virtual void visit(SgNode *astNode)=0
this method is called at every traversed node.
void traverseWithinFile(SgNode *node, Order treeTraversalOrder)
traverse only nodes which represent the same file as where the traversal was started
void traverse(SgNode *node, Order treeTraversalOrder)
traverse the entire AST. Order defines preorder (preorder) or postorder (postorder) traversal....
This class represents the base class for all IR nodes within Sage III.
This class represents a source project, with a list of SgFile objects and global information about th...
This class is temporary. Do not use.