clang
3.7.0
|
#include <DeclBase.h>
Public Types | |
typedef SpecificDecl * | value_type |
typedef void | reference |
typedef void | pointer |
typedef std::iterator_traits < DeclContext::decl_iterator > ::difference_type | difference_type |
typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
specific_decl_iterator () | |
specific_decl_iterator (DeclContext::decl_iterator C) | |
value_type | operator* () const |
value_type | operator-> () const |
specific_decl_iterator & | operator++ () |
specific_decl_iterator | operator++ (int) |
Friends | |
bool | operator== (const specific_decl_iterator &x, const specific_decl_iterator &y) |
bool | operator!= (const specific_decl_iterator &x, const specific_decl_iterator &y) |
specific_decl_iterator - Iterates over a subrange of declarations stored in a DeclContext, providing only those that are of type SpecificDecl (or a class derived from it). This iterator is used, for example, to provide iteration over just the fields within a RecordDecl (with SpecificDecl = FieldDecl).
Definition at line 1433 of file DeclBase.h.
typedef std::iterator_traits<DeclContext::decl_iterator>::difference_type clang::DeclContext::specific_decl_iterator< SpecificDecl >::difference_type |
Definition at line 1454 of file DeclBase.h.
typedef std::forward_iterator_tag clang::DeclContext::specific_decl_iterator< SpecificDecl >::iterator_category |
Definition at line 1455 of file DeclBase.h.
typedef void clang::DeclContext::specific_decl_iterator< SpecificDecl >::pointer |
Definition at line 1452 of file DeclBase.h.
typedef void clang::DeclContext::specific_decl_iterator< SpecificDecl >::reference |
Definition at line 1451 of file DeclBase.h.
typedef SpecificDecl* clang::DeclContext::specific_decl_iterator< SpecificDecl >::value_type |
Definition at line 1448 of file DeclBase.h.
|
inline |
Definition at line 1457 of file DeclBase.h.
|
inlineexplicit |
specific_decl_iterator - Construct a new iterator over a subset of the declarations the range [C, end-of-declarations). If A is non-NULL, it is a pointer to a member function of SpecificDecl that should return true for all of the SpecificDecl instances that will be in the subset of iterators. For example, if you want Objective-C instance methods, SpecificDecl will be ObjCMethodDecl and A will be &ObjCMethodDecl::isInstanceMethod.
Definition at line 1467 of file DeclBase.h.
|
inline |
Definition at line 1471 of file DeclBase.h.
|
inline |
Definition at line 1475 of file DeclBase.h.
|
inline |
Definition at line 1481 of file DeclBase.h.
|
inline |
Definition at line 1473 of file DeclBase.h.
|
friend |
Definition at line 1492 of file DeclBase.h.
|
friend |
Definition at line 1487 of file DeclBase.h.