template<class InheritedAttributeType>
class AstCombinedTopDownProcessing< InheritedAttributeType >
Definition at line 110 of file AstCombinedProcessing.h.
|
| AstCombinedTopDownProcessing () |
| default constructor
|
|
| AstCombinedTopDownProcessing (const TraversalPtrList &) |
| constructor that makes an internal copy of an existing list of traversals
|
|
void | addTraversal (TraversalPtr) |
| simple function for adding a traversal to the internal list
|
|
TraversalPtrList & | get_traversalPtrListRef () |
| function for obtaining a reference to the internal list of traversals, zou can use this for any container operations you like (deleting elements etc.)
|
|
void | traverse (SgNode *node, std::vector< InheritedAttributeType > * inheritedValue) |
| evaluates attributes on the entire AST
|
|
void | traverseWithinFile (SgNode *node, std::vector< InheritedAttributeType > * inheritedValue) |
| evaluates attributes only at nodes which represent the same file as where the evaluation was started
|
|
DummyAttribute | traverse (SgNode *basenode, std::vector< InheritedAttributeType > * inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
DummyAttribute | traverseWithinFile (SgNode *basenode, std::vector< InheritedAttributeType > * inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
void | traverseInputFiles (SgProject *projectNode, std::vector< InheritedAttributeType > * inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
| SgTreeTraversal (const SgTreeTraversal &) |
|
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
|
|
virtual InheritedAttributeTypeList * | evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeTypeList *inheritedValues) |
| pure virtual function which must be implemented to compute the inherited attribute at a node
|
|
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 () |
|
virtual void | destroyInheritedValue (SgNode *, InheritedAttributeTypeList *) |
|
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
|
void | set_useDefaultIndexBasedTraversal (bool) |
|
|
TraversalPtrList | traversals |
|
|
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
|
typedef SuccessorsContainer & | SuccessorsContainerRef |
|
The documentation for this class was generated from the following files: