ResetParentPointers
This traversal implements the mechanism to reset all parent pointers (back edges in the AST graph)
Synopsis
Declared in <SageIII/astPostProcessing/resetParentPointers.h>
Base Classes
Name |
Description |
Member Functions
Name |
Description |
|
Required traversal function |
Reset parents of referenced defining and first non‐defining declaration. |
|
Reset parent pointers appearing in subtrees represnting the template arguments |
|
resets pointers in islands of AST code not currently traversed (hidden in types or arrays of types) |
|
Test function to test parent pointers (from any point back to the root) |
Description
This traversal traverses the whole AST except types and symbols (future versions of the traversal will traverse type and symbols)
This traversal is a demonstration of how to traverse the full AST
including islands of code not yet handled in the default traversal. Nested
traversals are used to implement the traversal of source code (typically
class definitions) hidden in types.
Created with MrDocs