v8  3.14.5(node0.10.28)
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 2436 of file runtime.cc.

Constructor & Destructor Documentation

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

Definition at line 2438 of file runtime.cc.

References ASSERT.

Member Function Documentation

void AddString ( Handle< String string)
inline

Definition at line 2481 of file runtime.cc.

References ASSERT, and ReplacementStringBuilder::IncrementCharacterCount().

Referenced by CompiledReplacement::Apply().

static void AddSubjectSlice ( FixedArrayBuilder builder,
int  from,
int  to 
)
inlinestatic
void AddSubjectSlice ( int  from,
int  to 
)
inline
void EnsureCapacity ( int  elements)
inline

Definition at line 2470 of file runtime.cc.

References FixedArrayBuilder::EnsureCapacity().

void IncrementCharacterCount ( int  by)
inline

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