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

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

Public Types

typedef RopePieceBTreeIterator iterator
 

Public Member Functions

 RopePieceBTree ()
 
 RopePieceBTree (const RopePieceBTree &RHS)
 
 ~RopePieceBTree ()
 
iterator begin () const
 
iterator end () const
 
unsigned size () const
 
unsigned empty () const
 
void clear ()
 
void insert (unsigned Offset, const RopePiece &R)
 
void erase (unsigned Offset, unsigned NumBytes)
 

Detailed Description

Definition at line 137 of file RewriteRope.h.

Member Typedef Documentation

◆ iterator

Definition at line 145 of file RewriteRope.h.

Constructor & Destructor Documentation

◆ RopePieceBTree() [1/2]

RopePieceBTree::RopePieceBTree ( )

Definition at line 717 of file RewriteRope.cpp.

◆ RopePieceBTree() [2/2]

RopePieceBTree::RopePieceBTree ( const RopePieceBTree RHS)

Definition at line 720 of file RewriteRope.cpp.

References empty().

◆ ~RopePieceBTree()

RopePieceBTree::~RopePieceBTree ( )

Definition at line 724 of file RewriteRope.cpp.

References getRoot().

Member Function Documentation

◆ begin()

iterator clang::RopePieceBTree::begin ( ) const
inline

Definition at line 146 of file RewriteRope.h.

Referenced by clang::RewriteRope::begin().

◆ clear()

void RopePieceBTree::clear ( )

Definition at line 732 of file RewriteRope.cpp.

References getRoot().

Referenced by clang::RewriteRope::clear().

◆ empty()

unsigned clang::RopePieceBTree::empty ( ) const
inline

Definition at line 149 of file RewriteRope.h.

References clang::CodeGen::clear().

Referenced by RopePieceBTree().

◆ end()

iterator clang::RopePieceBTree::end ( ) const
inline

Definition at line 147 of file RewriteRope.h.

Referenced by clang::RewriteRope::end().

◆ erase()

void RopePieceBTree::erase ( unsigned  Offset,
unsigned  NumBytes 
)

◆ insert()

void RopePieceBTree::insert ( unsigned  Offset,
const RopePiece R 
)

Definition at line 741 of file RewriteRope.cpp.

References getRoot().

Referenced by clang::RewriteRope::assign(), and clang::RewriteRope::insert().

◆ size()

unsigned RopePieceBTree::size ( ) const

Definition at line 728 of file RewriteRope.cpp.

References getRoot().

Referenced by clang::RewriteRope::size().


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