ROSE 0.11.145.192
List of all members
SgBottomUpProcessing< SynthesizedAttributeType > Class Template Reference

Description

template<class SynthesizedAttributeType>
class SgBottomUpProcessing< SynthesizedAttributeType >

Definition at line 366 of file AstProcessing.h.

#include <midend/astProcessing/AstProcessing.h>

Inheritance diagram for SgBottomUpProcessing< SynthesizedAttributeType >:
Inheritance graph
[legend]
Collaboration diagram for SgBottomUpProcessing< SynthesizedAttributeType >:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from AstBottomUpProcessing< SynthesizedAttributeType >
typedef SgTreeTraversal< DummyAttribute, SynthesizedAttributeType >::SynthesizedAttributesList SynthesizedAttributesList
 
typedef SynthesizedAttributesList SubTreeSynthesizedAttributes
 
- Public Types inherited from SgTreeTraversal< DummyAttribute, SynthesizedAttributeType >
typedef StackFrameVector< SynthesizedAttributeType > SynthesizedAttributesList
 
- Public Member Functions inherited from AstBottomUpProcessing< SynthesizedAttributeType >
SynthesizedAttributeType traverse (SgNode *node)
 evaluates attributes on the entire AST
 
SynthesizedAttributeType traverseWithinFile (SgNode *node)
 evaluates attributes only at nodes which represent the same file as where the evaluation was started
 
void traverseInputFiles (SgProject *projectNode)
 evaluates attributes only at nodes which represent files which were specified on the command line (=input files).
 
- Public Member Functions inherited from SgTreeTraversal< DummyAttribute, SynthesizedAttributeType >
SynthesizedAttributeType traverse (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
SynthesizedAttributeType traverseWithinFile (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
void traverseInputFiles (SgProject *projectNode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder)
 
 SgTreeTraversal (const SgTreeTraversal &)
 
const SgTreeTraversaloperator= (const SgTreeTraversal &)
 
- Protected Types inherited from SgTreeTraversal< DummyAttribute, SynthesizedAttributeType >
typedef AstSuccessorsSelectors::SuccessorsContainer SuccessorsContainer
 
typedef SuccessorsContainer & SuccessorsContainerRef
 
- Protected Member Functions inherited from AstBottomUpProcessing< SynthesizedAttributeType >
virtual SynthesizedAttributeType evaluateSynthesizedAttribute (SgNode *, SynthesizedAttributesList)=0
 pure virtual function which must be implemented to compute the synthesized attribute at a node.
 
virtual SynthesizedAttributeType defaultSynthesizedAttribute ()
 Allows to provide a default value for a synthesized attribute of primitive type (e.g.
 
virtual void atTraversalStart ()
 Function called at the start of the traversal, before any node is visited; override if necessary, the default implementation is a no-op.
 
virtual void atTraversalEnd ()
 
- Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, SynthesizedAttributeType >
virtual SynthesizedAttributeType evaluateSynthesizedAttribute (SgNode *n, DummyAttribute in, SynthesizedAttributesList l)=0
 
virtual void setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer)
 
virtual SynthesizedAttributeType defaultSynthesizedAttribute (DummyAttribute inh)
 
void set_useDefaultIndexBasedTraversal (bool)
 

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