v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
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< String > | ToString () |
void | IncrementCharacterCount (int by) |
Handle< JSArray > | GetParts () |
Static Public Member Functions | |
static void | AddSubjectSlice (FixedArrayBuilder *builder, int from, int to) |
Definition at line 2407 of file runtime.cc.
|
inline |
Definition at line 2409 of file runtime.cc.
References ASSERT.
Definition at line 2452 of file runtime.cc.
References ASSERT, and ReplacementStringBuilder::IncrementCharacterCount().
Referenced by CompiledReplacement::Apply().
|
inlinestatic |
Definition at line 2422 of file runtime.cc.
References FixedArrayBuilder::Add(), ASSERT, BitField< T, shift, size >::encode(), Smi::FromInt(), and BitField< T, shift, size >::is_valid().
Referenced by ReplacementStringBuilder::AddSubjectSlice(), and CompiledReplacement::Apply().
|
inline |
Definition at line 2446 of file runtime.cc.
References ReplacementStringBuilder::AddSubjectSlice(), and ReplacementStringBuilder::IncrementCharacterCount().
|
inline |
Definition at line 2441 of file runtime.cc.
References FixedArrayBuilder::EnsureCapacity().
Definition at line 2500 of file runtime.cc.
References FixedArrayBuilder::ToJSArray().
|
inline |
Definition at line 2493 of file runtime.cc.
References V8::FatalProcessOutOfMemory(), and String::kMaxLength.
Referenced by ReplacementStringBuilder::AddString(), and ReplacementStringBuilder::AddSubjectSlice().
Definition at line 2463 of file runtime.cc.
References FixedArrayBuilder::array(), Handle< T >::cast(), Isolate::factory(), Heap::isolate(), and FixedArrayBuilder::length().