ROSE
0.9.6a
|
#include <AstCombinedProcessing.h>
Public Member Functions | |
SgCombinedTreeTraversal () | |
default constructor More... | |
SgCombinedTreeTraversal (const TraversalPtrList &) | |
constructor that makes an internal copy of an existing list of traversals More... | |
void | addTraversal (TraversalPtr) |
simple function for adding a traversal to the internal list More... | |
TraversalPtrList & | get_traversalPtrListRef () |
function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.) More... | |
Public Member Functions inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * > | |
std::vector < SynthesizedAttributeType > * | traverse (SgNode *basenode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
std::vector < SynthesizedAttributeType > * | traverseWithinFile (SgNode *basenode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
virtual | ~SgTreeTraversal () |
SgTreeTraversal () | |
SgTreeTraversal (const SgTreeTraversal &) | |
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
Protected Member Functions | |
virtual InheritedAttributeTypeList * | evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeTypeList *inheritedValues) |
virtual SynthesizedAttributeTypeList * | evaluateSynthesizedAttribute (SgNode *astNode, InheritedAttributeTypeList *inheritedValues, SynthesizedAttributesList synthesizedAttributes) |
virtual SynthesizedAttributeTypeList * | defaultSynthesizedAttribute (InheritedAttributeTypeList *) |
virtual void | atTraversalStart () |
virtual void | atTraversalEnd () |
Protected Member Functions inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * > | |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
void | set_useDefaultIndexBasedTraversal (bool) |
Protected Attributes | |
TraversalPtrList | traversals |
Private Attributes | |
TraversalPtrList::iterator | tBegin |
TraversalPtrList::iterator | tEnd |
TraversalPtrList::size_type | numberOfTraversals |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Definition at line 22 of file AstCombinedProcessing.h.
typedef SgTreeTraversal<InheritedAttributeType, SynthesizedAttributeType> SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::TraversalType |
Definition at line 26 of file AstCombinedProcessing.h.
typedef TraversalType* SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::TraversalPtr |
Definition at line 27 of file AstCombinedProcessing.h.
typedef std::vector<TraversalPtr> SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::TraversalPtrList |
Definition at line 28 of file AstCombinedProcessing.h.
typedef std::vector<InheritedAttributeType> SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::InheritedAttributeTypeList |
Definition at line 29 of file AstCombinedProcessing.h.
typedef std::vector<SynthesizedAttributeType> SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::SynthesizedAttributeTypeList |
Definition at line 30 of file AstCombinedProcessing.h.
typedef SgTreeTraversal<std::vector<InheritedAttributeType> *, std::vector<SynthesizedAttributeType> *> SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::Superclass |
Definition at line 31 of file AstCombinedProcessing.h.
typedef Superclass::SynthesizedAttributesList SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::SynthesizedAttributesList |
Definition at line 32 of file AstCombinedProcessing.h.
SgCombinedTreeTraversal< I, S >::SgCombinedTreeTraversal | ( | ) |
default constructor
Definition at line 18 of file AstCombinedProcessingImpl.h.
SgCombinedTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >::SgCombinedTreeTraversal | ( | const TraversalPtrList & | ) |
constructor that makes an internal copy of an existing list of traversals
void SgCombinedTreeTraversal< I, S >::addTraversal | ( | TraversalPtr | ) |
simple function for adding a traversal to the internal list
Definition at line 34 of file AstCombinedProcessingImpl.h.
SgCombinedTreeTraversal< I, S >::TraversalPtrList & SgCombinedTreeTraversal< I, S >::get_traversalPtrListRef | ( | ) |
function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.)
Definition at line 42 of file AstCombinedProcessingImpl.h.
|
protectedvirtual |
Implements SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * >.
Definition at line 51 of file AstCombinedProcessingImpl.h.
|
protectedvirtual |
Implements SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * >.
Definition at line 83 of file AstCombinedProcessingImpl.h.
|
protectedvirtual |
Reimplemented from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * >.
Definition at line 138 of file AstCombinedProcessingImpl.h.
|
protectedvirtual |
Reimplemented from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * >.
Definition at line 166 of file AstCombinedProcessingImpl.h.
|
protectedvirtual |
Reimplemented from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * >.
Definition at line 185 of file AstCombinedProcessingImpl.h.
|
protected |
Definition at line 58 of file AstCombinedProcessing.h.
|
private |
Definition at line 61 of file AstCombinedProcessing.h.
|
private |
Definition at line 61 of file AstCombinedProcessing.h.
|
private |
Definition at line 62 of file AstCombinedProcessing.h.