class RopePieceBTreeIterator
Declaration
class RopePieceBTreeIterator { /* full declaration omitted */ };
Description
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.
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:86
Member Variables
- private const void* CurNode = nullptr
- CurNode - The current B+Tree node that we are inspecting.
- private const clang::RopePiece* CurPiece = nullptr
- CurPiece - The current RopePiece in the B+Tree node that we're inspecting.
- private unsigned int CurChar = 0
- CurChar - The current byte in the RopePiece we are pointing to.
Method Overview
- public void MoveToNextPiece()
- public RopePieceBTreeIterator()
- public RopePieceBTreeIterator(const void * N)
- public llvm::StringRef piece() const
Methods
¶void MoveToNextPiece()
void MoveToNextPiece()
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:134
¶RopePieceBTreeIterator()
RopePieceBTreeIterator()
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:104
¶RopePieceBTreeIterator(const void* N)
RopePieceBTreeIterator(const void* N)
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:105
Parameters
- const void* N
¶llvm::StringRef piece() const
llvm::StringRef piece() const
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:130