clang  3.7.0
Classes | Public Types | Public Member Functions | List of all members
clang::DeclContextLookupResult Class Reference

The results of name lookup within a DeclContext. This is either a single result (with no stable storage) or a collection of results (with stable storage provided by the lookup table). More...

#include <DeclBase.h>

Classes

class  iterator
 

Public Types

typedef
llvm::iterator_adaptor_base
< iterator, ResultTy::iterator,
std::random_access_iterator_tag,
NamedDecl *const > 
IteratorBase
 
typedef iterator const_iterator
 
typedef iterator::pointer pointer
 
typedef iterator::reference reference
 

Public Member Functions

 DeclContextLookupResult ()
 
 DeclContextLookupResult (ArrayRef< NamedDecl * > Result)
 
 DeclContextLookupResult (NamedDecl *Single)
 
iterator begin () const
 
iterator end () const
 
bool empty () const
 
pointer data () const
 
size_t size () const
 
reference front () const
 
reference back () const
 
reference operator[] (size_t N) const
 
DeclContextLookupResult slice (size_t N) const
 

Detailed Description

The results of name lookup within a DeclContext. This is either a single result (with no stable storage) or a collection of results (with stable storage provided by the lookup table).

Definition at line 1034 of file DeclBase.h.

Member Typedef Documentation

Definition at line 1066 of file DeclBase.h.

typedef llvm::iterator_adaptor_base<iterator, ResultTy::iterator, std::random_access_iterator_tag, NamedDecl *const> clang::DeclContextLookupResult::IteratorBase

Definition at line 1050 of file DeclBase.h.

typedef iterator::pointer clang::DeclContextLookupResult::pointer

Definition at line 1067 of file DeclBase.h.

typedef iterator::reference clang::DeclContextLookupResult::reference

Definition at line 1068 of file DeclBase.h.

Constructor & Destructor Documentation

clang::DeclContextLookupResult::DeclContextLookupResult ( )
inline

Definition at line 1044 of file DeclBase.h.

clang::DeclContextLookupResult::DeclContextLookupResult ( ArrayRef< NamedDecl * >  Result)
inline

Definition at line 1045 of file DeclBase.h.

clang::DeclContextLookupResult::DeclContextLookupResult ( NamedDecl Single)
inline

Definition at line 1047 of file DeclBase.h.

Member Function Documentation

reference clang::DeclContextLookupResult::back ( ) const
inline

Definition at line 1077 of file DeclBase.h.

iterator clang::DeclContextLookupResult::begin ( ) const
inline
pointer clang::DeclContextLookupResult::data ( ) const
inline

Definition at line 1074 of file DeclBase.h.

bool clang::DeclContextLookupResult::empty ( ) const
inline
iterator clang::DeclContextLookupResult::end ( ) const
inline
reference clang::DeclContextLookupResult::front ( ) const
inline
reference clang::DeclContextLookupResult::operator[] ( size_t  N) const
inline

Definition at line 1078 of file DeclBase.h.

size_t clang::DeclContextLookupResult::size ( ) const
inline
DeclContextLookupResult clang::DeclContextLookupResult::slice ( size_t  N) const
inline

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