clang 20.0.0git
|
RewriteRope - A powerful string class. More...
#include "clang/Rewrite/Core/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.
|
inline |
Definition at line 199 of file RewriteRope.h.
References clear(), and clang::RopePieceBTree::insert().
Referenced by clang::RewriteBuffer::Initialize().
|
inline |
Definition at line 191 of file RewriteRope.h.
References clang::RopePieceBTree::begin().
Referenced by clang::RewriteBuffer::begin().
|
inline |
Definition at line 195 of file RewriteRope.h.
References clang::RopePieceBTree::clear().
Referenced by assign().
|
inline |
Definition at line 192 of file RewriteRope.h.
References clang::RopePieceBTree::end().
Referenced by clang::RewriteBuffer::end().
Definition at line 211 of file RewriteRope.h.
References clang::RopePieceBTree::erase(), and size().
Referenced by clang::RewriteBuffer::RemoveText(), and clang::RewriteBuffer::ReplaceText().
|
inline |
Definition at line 205 of file RewriteRope.h.
References clang::RopePieceBTree::insert(), and size().
Referenced by clang::RewriteBuffer::InsertText(), and clang::RewriteBuffer::ReplaceText().
|
delete |
|
inline |
Definition at line 193 of file RewriteRope.h.
References clang::RopePieceBTree::size().
Referenced by erase(), insert(), clang::RewriteBuffer::RemoveText(), and clang::RewriteBuffer::size().