ROSE 0.11.145.283
Public Member Functions | List of all members
Rose::SnippetAstTraversal Class Referenceabstract

Description

Java-aware AST traversal.

This is a pre/post depth-first traversal that is aware of certain Java attributes and follows them even when AstSimpleProcessing would not follow them. The functor should take two arguments: SgNode*, and AstSimpleProcessing::Order (the constant preorder or postorder depending on whether the call is before or after the children are traversed). Attributes are considered to be the first children of a node.

Definition at line 457 of file Snippet.h.

#include <midend/astSnippet/Snippet.h>

Public Member Functions

void traverse (SgNode *ast)
 
virtual void operator() (SgNode *, AstSimpleProcessing::Order)=0
 

Constructor & Destructor Documentation

◆ ~SnippetAstTraversal()

virtual Rose::SnippetAstTraversal::~SnippetAstTraversal ( )
inlinevirtual

Definition at line 459 of file Snippet.h.


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