LLVM 20.0.0git
|
RewriteRope - A powerful string class. More...
#include "llvm/ADT/RewriteRope.h"
Public Types | |
using | iterator = RopePieceBTree::iterator |
using | const_iterator = RopePieceBTree::iterator |
Public Member Functions | |
RewriteRope ()=default | |
RewriteRope (const RewriteRope &RHS) | |
RewriteRope & | operator= (const RewriteRope &)=delete |
iterator | begin () const |
iterator | end () const |
unsigned | size () const |
void | clear () |
void | assign (const char *Start, const char *End) |
void | insert (unsigned Offset, const char *Start, const char *End) |
void | erase (unsigned Offset, unsigned NumBytes) |
RewriteRope - A powerful string class.
This class supports extremely efficient insertions and deletions into the middle of it, even for ridiculously long strings.
Definition at line 171 of file RewriteRope.h.
Definition at line 189 of file RewriteRope.h.
Definition at line 188 of file RewriteRope.h.
|
default |
|
inline |
Definition at line 182 of file RewriteRope.h.
Definition at line 197 of file RewriteRope.h.
References clear(), End, and llvm::RopePieceBTree::insert().
Referenced by llvm::RewriteBuffer::Initialize().
|
inline |
Definition at line 191 of file RewriteRope.h.
References llvm::RopePieceBTree::begin().
Referenced by llvm::RewriteBuffer::begin().
|
inline |
Definition at line 195 of file RewriteRope.h.
References llvm::RopePieceBTree::clear().
Referenced by assign().
|
inline |
Definition at line 192 of file RewriteRope.h.
References llvm::RopePieceBTree::end().
Referenced by llvm::RewriteBuffer::end().
Definition at line 210 of file RewriteRope.h.
References assert(), llvm::RopePieceBTree::erase(), llvm::Offset, and size().
Referenced by llvm::RewriteBuffer::RemoveText(), and llvm::RewriteBuffer::ReplaceText().
Definition at line 203 of file RewriteRope.h.
References assert(), End, llvm::RopePieceBTree::insert(), llvm::Offset, and size().
Referenced by llvm::RewriteBuffer::InsertText(), and llvm::RewriteBuffer::ReplaceText().
|
delete |
|
inline |
Definition at line 193 of file RewriteRope.h.
References llvm::RopePieceBTree::size().
Referenced by erase(), insert(), llvm::RewriteBuffer::RemoveText(), and llvm::RewriteBuffer::size().