clang  13.0.0git
Classes | Public Member Functions | Friends | List of all members
clang::ParentMapContext::ParentMap Class Reference

Classes

class  ASTVisitor
 A RecursiveASTVisitor that builds a map from nodes to their parents as defined by the RecursiveASTVisitor. More...
 

Public Member Functions

 ParentMap (ASTContext &Ctx)
 
 ~ParentMap ()
 
DynTypedNodeList getParents (TraversalKind TK, const DynTypedNode &Node)
 
DynTypedNodeList AscendIgnoreUnlessSpelledInSource (const Expr *E, const Expr *Child)
 

Friends

template<typename , typename... >
struct ::MatchParents
 

Detailed Description

Definition at line 59 of file ParentMapContext.cpp.

Constructor & Destructor Documentation

◆ ParentMap()

clang::ParentMapContext::ParentMap::ParentMap ( ASTContext Ctx)

◆ ~ParentMap()

clang::ParentMapContext::ParentMap::~ParentMap ( )
inline

Definition at line 109 of file ParentMapContext.cpp.

References clang::DynTypedNode::get().

Member Function Documentation

◆ AscendIgnoreUnlessSpelledInSource()

DynTypedNodeList clang::ParentMapContext::ParentMap::AscendIgnoreUnlessSpelledInSource ( const Expr E,
const Expr Child 
)
inline

Definition at line 202 of file ParentMapContext.cpp.

◆ getParents()

DynTypedNodeList clang::ParentMapContext::ParentMap::getParents ( TraversalKind  TK,
const DynTypedNode Node 
)
inline

Definition at line 126 of file ParentMapContext.cpp.

Friends And Related Function Documentation

◆ ::MatchParents

template<typename , typename... >
friend struct ::MatchParents
friend

Definition at line 61 of file ParentMapContext.cpp.


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