clang 20.0.0git
|
RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree. More...
#include "clang/Rewrite/Core/RewriteRope.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const char |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
RopePieceBTreeIterator ()=default | |
RopePieceBTreeIterator (const void *N) | |
char | operator* () const |
bool | operator== (const RopePieceBTreeIterator &RHS) const |
bool | operator!= (const RopePieceBTreeIterator &RHS) const |
RopePieceBTreeIterator & | operator++ () |
RopePieceBTreeIterator | operator++ (int) |
llvm::StringRef | piece () const |
void | MoveToNextPiece () |
RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree.
This first iterates over bytes in a RopePiece, then iterates over RopePiece's in a RopePieceBTreeLeaf, then iterates over RopePieceBTreeLeaf's in a RopePieceBTree.
Definition at line 86 of file RewriteRope.h.
using clang::RopePieceBTreeIterator::difference_type = std::ptrdiff_t |
Definition at line 100 of file RewriteRope.h.
using clang::RopePieceBTreeIterator::iterator_category = std::forward_iterator_tag |
Definition at line 98 of file RewriteRope.h.
Definition at line 101 of file RewriteRope.h.
Definition at line 102 of file RewriteRope.h.
using clang::RopePieceBTreeIterator::value_type = const char |
Definition at line 99 of file RewriteRope.h.
|
default |
RopePieceBTreeIterator::RopePieceBTreeIterator | ( | const void * | N | ) |
Definition at line 672 of file RewriteRope.cpp.
References getCN().
void RopePieceBTreeIterator::MoveToNextPiece | ( | ) |
|
inline |
Definition at line 114 of file RewriteRope.h.
References operator==().
|
inline |
Definition at line 107 of file RewriteRope.h.
|
inline |
Definition at line 118 of file RewriteRope.h.
References MoveToNextPiece(), and clang::RopePiece::size().
|
inline |
Definition at line 126 of file RewriteRope.h.
|
inline |
Definition at line 111 of file RewriteRope.h.
Referenced by operator!=().
|
inline |
Definition at line 130 of file RewriteRope.h.
References clang::RopePiece::size().