clang API Documentation
#include <DeclBase.h>
Public Types | |
typedef Decl * | value_type |
typedef const value_type & | reference |
typedef const value_type * | pointer |
typedef std::forward_iterator_tag | iterator_category |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
decl_iterator () | |
decl_iterator (Decl *C) | |
reference | operator* () const |
value_type | operator-> () const |
decl_iterator & | operator++ () |
decl_iterator | operator++ (int) |
Friends | |
bool | operator== (decl_iterator x, decl_iterator y) |
bool | operator!= (decl_iterator x, decl_iterator y) |
decl_iterator - Iterates through the declarations stored within this context.
Definition at line 1283 of file DeclBase.h.
Definition at line 1292 of file DeclBase.h.
typedef std::forward_iterator_tag clang::DeclContext::decl_iterator::iterator_category |
Definition at line 1291 of file DeclBase.h.
typedef const value_type* clang::DeclContext::decl_iterator::pointer |
Definition at line 1290 of file DeclBase.h.
typedef const value_type& clang::DeclContext::decl_iterator::reference |
Definition at line 1289 of file DeclBase.h.
Definition at line 1288 of file DeclBase.h.
clang::DeclContext::decl_iterator::decl_iterator | ( | ) | [inline] |
Definition at line 1294 of file DeclBase.h.
clang::DeclContext::decl_iterator::decl_iterator | ( | Decl * | C | ) | [inline, explicit] |
Definition at line 1295 of file DeclBase.h.
reference clang::DeclContext::decl_iterator::operator* | ( | ) | const [inline] |
Definition at line 1297 of file DeclBase.h.
decl_iterator& clang::DeclContext::decl_iterator::operator++ | ( | ) | [inline] |
Definition at line 1301 of file DeclBase.h.
References clang::Decl::getNextDeclInContext().
decl_iterator clang::DeclContext::decl_iterator::operator++ | ( | int | ) | [inline] |
Definition at line 1306 of file DeclBase.h.
value_type clang::DeclContext::decl_iterator::operator-> | ( | ) | const [inline] |
Definition at line 1299 of file DeclBase.h.
bool operator!= | ( | decl_iterator | x, |
decl_iterator | y | ||
) | [friend] |
Definition at line 1315 of file DeclBase.h.
bool operator== | ( | decl_iterator | x, |
decl_iterator | y | ||
) | [friend] |
Definition at line 1312 of file DeclBase.h.