clang API Documentation

Public Types | Public Member Functions
clang::idx::SelectorMap Class Reference

Maps NamedDecls with the ASTLocations that reference them. More...

#include <SelectorMap.h>

List of all members.

Public Types

typedef std::multimap
< Selector, ObjCMethodDecl * > 
SelMethMapTy
typedef std::multimap
< Selector, ASTLocation
SelRefMapTy
typedef pair_value_iterator
< SelMethMapTy::iterator > 
method_iterator
typedef pair_value_iterator
< SelRefMapTy::iterator > 
astlocation_iterator

Public Member Functions

 SelectorMap (ASTContext &Ctx)
method_iterator methods_begin (Selector Sel) const
method_iterator methods_end (Selector Sel) const
astlocation_iterator refs_begin (Selector Sel) const
astlocation_iterator refs_end (Selector Sel) const

Detailed Description

Maps NamedDecls with the ASTLocations that reference them.

References are mapped and retrieved using the canonical decls.

Definition at line 32 of file SelectorMap.h.


Member Typedef Documentation

Definition at line 40 of file SelectorMap.h.

Definition at line 39 of file SelectorMap.h.

Definition at line 36 of file SelectorMap.h.

Definition at line 37 of file SelectorMap.h.


Constructor & Destructor Documentation

SelectorMap::SelectorMap ( ASTContext Ctx) [explicit]

Definition at line 62 of file SelectorMap.cpp.

References clang::ASTContext::getTranslationUnitDecl().


Member Function Documentation

SelectorMap::method_iterator SelectorMap::methods_begin ( Selector  Sel) const

Definition at line 67 of file SelectorMap.cpp.

SelectorMap::method_iterator SelectorMap::methods_end ( Selector  Sel) const

Definition at line 72 of file SelectorMap.cpp.

SelectorMap::astlocation_iterator SelectorMap::refs_begin ( Selector  Sel) const

Definition at line 77 of file SelectorMap.cpp.

SelectorMap::astlocation_iterator SelectorMap::refs_end ( Selector  Sel) const

Definition at line 82 of file SelectorMap.cpp.


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