v8
3.25.30(node0.11.13)
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) |
Static Public Member Functions | |
static void | AddSubjectSlice (FixedArrayBuilder *builder, int from, int to) |
Definition at line 3417 of file runtime.cc.
|
inline |
Definition at line 3419 of file runtime.cc.
References ASSERT.
Definition at line 3462 of file runtime.cc.
References ASSERT, and ReplacementStringBuilder::IncrementCharacterCount().
Referenced by CompiledReplacement::Apply().
|
inlinestatic |
Definition at line 3432 of file runtime.cc.
References FixedArrayBuilder::Add(), ASSERT, BitFieldBase< T, shift, size, uint32_t >::encode(), Smi::FromInt(), and BitFieldBase< T, shift, size, uint32_t >::is_valid().
Referenced by ReplacementStringBuilder::AddSubjectSlice(), and CompiledReplacement::Apply().
|
inline |
Definition at line 3456 of file runtime.cc.
References ReplacementStringBuilder::AddSubjectSlice(), and ReplacementStringBuilder::IncrementCharacterCount().
|
inline |
Definition at line 3451 of file runtime.cc.
References FixedArrayBuilder::EnsureCapacity().
|
inline |
Definition at line 3505 of file runtime.cc.
References v8::internal::kMaxInt, String::kMaxLength, and v8::internal::STATIC_ASSERT().
Referenced by ReplacementStringBuilder::AddString(), and ReplacementStringBuilder::AddSubjectSlice().
Definition at line 3473 of file runtime.cc.
References FixedArrayBuilder::array(), Handle< T >::cast(), Isolate::factory(), Heap::isolate(), FixedArrayBuilder::length(), and RETURN_IF_EMPTY_HANDLE_VALUE.