clang  6.0.0svn
Public Member Functions | List of all members
clang::RopePieceBTreeIterator Class Reference

RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree. More...

#include "clang/Rewrite/Core/RewriteRope.h"

Inheritance diagram for clang::RopePieceBTreeIterator:
Inheritance graph
[legend]
Collaboration diagram for clang::RopePieceBTreeIterator:
Collaboration graph
[legend]

Public Member Functions

 RopePieceBTreeIterator (const void *N)
 
 RopePieceBTreeIterator ()
 
char operator* () const
 
bool operator== (const RopePieceBTreeIterator &RHS) const
 
bool operator!= (const RopePieceBTreeIterator &RHS) const
 
RopePieceBTreeIteratoroperator++ ()
 
RopePieceBTreeIterator operator++ (int)
 
llvm::StringRef piece () const
 
void MoveToNextPiece ()
 

Detailed 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.

Definition at line 88 of file RewriteRope.h.

Constructor & Destructor Documentation

◆ RopePieceBTreeIterator() [1/2]

RopePieceBTreeIterator::RopePieceBTreeIterator ( const void *  N)

Definition at line 668 of file RewriteRope.cpp.

References getCN().

◆ RopePieceBTreeIterator() [2/2]

clang::RopePieceBTreeIterator::RopePieceBTreeIterator ( )
inline

Definition at line 101 of file RewriteRope.h.

Member Function Documentation

◆ MoveToNextPiece()

void RopePieceBTreeIterator::MoveToNextPiece ( )

Definition at line 690 of file RewriteRope.cpp.

References getCN().

◆ operator!=()

bool clang::RopePieceBTreeIterator::operator!= ( const RopePieceBTreeIterator RHS) const
inline

Definition at line 111 of file RewriteRope.h.

References clang::operator==().

◆ operator*()

char clang::RopePieceBTreeIterator::operator* ( ) const
inline

Definition at line 104 of file RewriteRope.h.

◆ operator++() [1/2]

RopePieceBTreeIterator& clang::RopePieceBTreeIterator::operator++ ( )
inline

Definition at line 115 of file RewriteRope.h.

References clang::RopePiece::size().

◆ operator++() [2/2]

RopePieceBTreeIterator clang::RopePieceBTreeIterator::operator++ ( int  )
inline

Definition at line 122 of file RewriteRope.h.

◆ operator==()

bool clang::RopePieceBTreeIterator::operator== ( const RopePieceBTreeIterator RHS) const
inline

Definition at line 108 of file RewriteRope.h.

◆ piece()

llvm::StringRef clang::RopePieceBTreeIterator::piece ( ) const
inline

Definition at line 126 of file RewriteRope.h.

References clang::RopePiece::size().


The documentation for this class was generated from the following files: