class ParentMapContext::ParentMap
Declaration
class ParentMapContext::ParentMap { /* full declaration omitted */ };
Declared at: clang/lib/AST/ParentMapContext.cpp:59
Member Variables
- private clang::ParentMapContext::ParentMap:: ParentMapPointers PointerParents
- private clang::ParentMapContext::ParentMap:: ParentMapOtherNodes OtherParents
Method Overview
- public clang::DynTypedNodeList AscendIgnoreUnlessSpelledInSource(const clang::Expr * E, const clang::Expr * Child)
- public ParentMap(clang::ASTContext & Ctx)
- private template <typename NodeTy, typename MapTy>static clang::DynTypedNodeList getDynNodeFromMap(const NodeTy & Node, const MapTy & Map)
- public clang::DynTypedNodeList getParents(clang::TraversalKind TK, const clang::DynTypedNode & Node)
- private static clang::DynTypedNode getSingleDynTypedNodeFromParentMap(ParentMapPointers::mapped_type U)
- public ~ParentMap()
Methods
¶clang::DynTypedNodeList
AscendIgnoreUnlessSpelledInSource(
const clang::Expr* E,
const clang::Expr* Child)
clang::DynTypedNodeList
AscendIgnoreUnlessSpelledInSource(
const clang::Expr* E,
const clang::Expr* Child)
Declared at: clang/lib/AST/ParentMapContext.cpp:202
Parameters
- const clang::Expr* E
- const clang::Expr* Child
¶ParentMap(clang::ASTContext& Ctx)
ParentMap(clang::ASTContext& Ctx)
Declared at: clang/lib/AST/ParentMapContext.cpp:108
Parameters
- clang::ASTContext& Ctx
¶template <typename NodeTy, typename MapTy>
static clang::DynTypedNodeList getDynNodeFromMap(
const NodeTy& Node,
const MapTy& Map)
template <typename NodeTy, typename MapTy>
static clang::DynTypedNodeList getDynNodeFromMap(
const NodeTy& Node,
const MapTy& Map)
Declared at: clang/lib/AST/ParentMapContext.cpp:95
Templates
- NodeTy
- MapTy
Parameters
- const NodeTy& Node
- const MapTy& Map
¶clang::DynTypedNodeList getParents(
clang::TraversalKind TK,
const clang::DynTypedNode& Node)
clang::DynTypedNodeList getParents(
clang::TraversalKind TK,
const clang::DynTypedNode& Node)
Declared at: clang/lib/AST/ParentMapContext.cpp:126
Parameters
- clang::TraversalKind TK
- const clang::DynTypedNode& Node
¶static clang::DynTypedNode
getSingleDynTypedNodeFromParentMap(
ParentMapPointers::mapped_type U)
static clang::DynTypedNode
getSingleDynTypedNodeFromParentMap(
ParentMapPointers::mapped_type U)
Declared at: clang/lib/AST/ParentMapContext.cpp:86
Parameters
¶~ParentMap()
~ParentMap()
Declared at: clang/lib/AST/ParentMapContext.cpp:109