ROSE  0.11.96.11
Public Types | Public Member Functions | Protected Types | Protected Member Functions | List of all members
SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType > Class Template Referenceabstract

Description

template<class InheritedAttributeType, class SynthesizedAttributeType>
class SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >

This class is temporary. Do not use.

This class is an internal class and should not be used anywhere.
Use the four Ast*Processing classes instead.

Definition at line 97 of file AstProcessing.h.

#include <AstProcessing.h>

Inheritance diagram for SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >:
Inheritance graph
[legend]

Public Types

typedef StackFrameVector< SynthesizedAttributeType > SynthesizedAttributesList
 

Public Member Functions

SynthesizedAttributeType traverse (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
SynthesizedAttributeType traverseWithinFile (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
void traverseInputFiles (SgProject *projectNode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
 SgTreeTraversal (const SgTreeTraversal &)
 
const SgTreeTraversaloperator= (const SgTreeTraversal &)
 

Protected Types

typedef AstSuccessorsSelectors::SuccessorsContainer SuccessorsContainer
 
typedef SuccessorsContainer & SuccessorsContainerRef
 

Protected Member Functions

virtual InheritedAttributeType evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeType inheritedValue)=0
 
virtual SynthesizedAttributeType evaluateSynthesizedAttribute (SgNode *n, InheritedAttributeType in, SynthesizedAttributesList l)=0
 
virtual void setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer)
 
virtual SynthesizedAttributeType defaultSynthesizedAttribute (InheritedAttributeType inh)
 
virtual void atTraversalStart ()
 
virtual void atTraversalEnd ()
 
void set_useDefaultIndexBasedTraversal (bool)
 

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