clang API Documentation
An iterator that walks over all of the known identifiers in the lookup table. More...
#include <IdentifierTable.h>
Public Member Functions | |
virtual | ~IdentifierIterator () |
virtual StringRef | Next ()=0 |
Retrieve the next string in the identifier table and advances the iterator for the following string. | |
Protected Member Functions | |
IdentifierIterator () |
An iterator that walks over all of the known identifiers in the lookup table.
Since this iterator uses an abstract interface via virtual functions, it uses an object-oriented interface rather than the more standard C++ STL iterator interface. In this OO-style iteration, the single function Next()
provides dereference, advance, and end-of-sequence checking in a single operation. Subclasses of this iterator type will provide the actual functionality.
Definition at line 354 of file IdentifierTable.h.
clang::IdentifierIterator::IdentifierIterator | ( | ) | [inline, protected] |
Definition at line 360 of file IdentifierTable.h.
IdentifierIterator::~IdentifierIterator | ( | ) | [virtual] |
Definition at line 55 of file IdentifierTable.cpp.
virtual StringRef clang::IdentifierIterator::Next | ( | ) | [pure virtual] |
Retrieve the next string in the identifier table and advances the iterator for the following string.
StringRef
. Implemented in clang::ASTIdentifierIterator.