clang 20.0.0git
|
An iterator that walks over all of the known identifiers in the lookup table. More...
#include "clang/Basic/IdentifierTable.h"
Public Member Functions | |
IdentifierIterator (const IdentifierIterator &)=delete | |
IdentifierIterator & | operator= (const IdentifierIterator &)=delete |
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 ()=default | |
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 607 of file IdentifierTable.h.
|
protecteddefault |
|
delete |
|
virtualdefault |
|
pure virtual |
Retrieve the next string in the identifier table and advances the iterator for the following string.
StringRef
. Implemented in clang::ASTIdentifierIterator.
|
delete |