|
| AstCombinedSimpleProcessing () |
| default constructor
|
|
| AstCombinedSimpleProcessing (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, you can use this for any container operations you like (deleting elements etc.)
|
|
void | traverse (SgNode *node, Order treeTraversalOrder) |
| traverse the entire AST. Order defines preorder (preorder) or postorder (postorder) traversal. Default is 'preorder'.
|
|
void | traverseWithinFile (SgNode *node, Order treeTraversalOrder) |
| traverse only nodes which represent the same file as where the traversal was started
|
|
void | traverseInputFiles (SgProject *projectNode, Order treeTraversalOrder) |
| traverse only nodes which represent files which were specified on the command line (=input files).
|
|
DummyAttribute | traverse (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
DummyAttribute | traverseWithinFile (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
void | traverseInputFiles (SgProject *projectNode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
|
| SgTreeTraversal (const SgTreeTraversal &) |
|
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
|
|
virtual void | visit (SgNode *astNode) |
| this method is called at every traversed node.
|
|
virtual void | atTraversalStart () |
| GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actually visited; can be used to perform a "last-minute" computation of attributes that may have changed since the constructor was executed, but are constant during the traversal itself.
|
|
virtual void | atTraversalEnd () |
|
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
|
void | set_useDefaultIndexBasedTraversal (bool) |
|
◆ TraversalType
◆ TraversalPtr
◆ TraversalPtrList
typedef std::vector<TraversalPtr> AstCombinedSimpleProcessing::TraversalPtrList |
◆ visit()
virtual void AstCombinedSimpleProcessing::visit |
( |
SgNode * |
astNode | ) |
|
|
protectedvirtual |
◆ atTraversalStart()
virtual void AstCombinedSimpleProcessing::atTraversalStart |
( |
| ) |
|
|
protectedvirtual |
GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actually visited; can be used to perform a "last-minute" computation of attributes that may have changed since the constructor was executed, but are constant during the traversal itself.
A no-op by default.
Reimplemented from AstSimpleProcessing.
◆ atTraversalEnd()
virtual void AstCombinedSimpleProcessing::atTraversalEnd |
( |
| ) |
|
|
protectedvirtual |
◆ traversals
TraversalPtrList AstCombinedSimpleProcessing::traversals |
|
protected |
The documentation for this class was generated from the following file: