v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReplacementStringBuilder Class Reference

Public Member Functions

 ReplacementStringBuilder (Heap *heap, Handle< String > subject, int estimated_part_count)
 
void EnsureCapacity (int elements)
 
void AddSubjectSlice (int from, int to)
 
void AddString (Handle< String > string)
 
Handle< StringToString ()
 
void IncrementCharacterCount (int by)
 

Static Public Member Functions

static void AddSubjectSlice (FixedArrayBuilder *builder, int from, int to)
 

Detailed Description

Definition at line 3417 of file runtime.cc.

Constructor & Destructor Documentation

ReplacementStringBuilder ( Heap heap,
Handle< String subject,
int  estimated_part_count 
)
inline

Definition at line 3419 of file runtime.cc.

References ASSERT.

Member Function Documentation

void AddString ( Handle< String string)
inline

Definition at line 3462 of file runtime.cc.

References ASSERT, and ReplacementStringBuilder::IncrementCharacterCount().

Referenced by CompiledReplacement::Apply().

void AddSubjectSlice ( int  from,
int  to 
)
inline
void EnsureCapacity ( int  elements)
inline

Definition at line 3451 of file runtime.cc.

References FixedArrayBuilder::EnsureCapacity().

void IncrementCharacterCount ( int  by)
inline

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