sg::AncestorTypeFinder
helper class for _ancestor
Synopsis
Declared in <SageIII/sageInterface/sageGeneric.h>
template<
class AncestorNode,
class QualSgNode>
struct AncestorTypeFinder
: DefaultHandler<SgProject const>
Base Classes
Name |
Description |
struct DefaultHandler |
Member Functions
Name |
Description |
|
Default constructor |
Conversion to |
Data Members
Name |
Using Declarations
Name |
Description
implements a type switch over the Rose AST to find an ancestor node with a given type. The search fails at SgProject nodes.
Template Parameters
Name |
Description |
AncestorNode |
the type of ancestors to look for |
QualSgNode |
either const SgNode* or SgNode* depending if the search is over constant nodes or not. |
Created with MrDocs