clang API Documentation
Maps NamedDecls with the ASTLocations that reference them. More...
#include <SelectorMap.h>
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 |
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.
| typedef pair_value_iterator<SelRefMapTy::iterator> clang::idx::SelectorMap::astlocation_iterator |
Definition at line 40 of file SelectorMap.h.
| typedef pair_value_iterator<SelMethMapTy::iterator> clang::idx::SelectorMap::method_iterator |
Definition at line 39 of file SelectorMap.h.
| typedef std::multimap<Selector, ObjCMethodDecl *> clang::idx::SelectorMap::SelMethMapTy |
Definition at line 36 of file SelectorMap.h.
| typedef std::multimap<Selector, ASTLocation> clang::idx::SelectorMap::SelRefMapTy |
Definition at line 37 of file SelectorMap.h.
| SelectorMap::SelectorMap | ( | ASTContext & | Ctx | ) | [explicit] |
Definition at line 62 of file SelectorMap.cpp.
References clang::ASTContext::getTranslationUnitDecl().
| 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.