![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
| CompiledReplacement (Zone *zone) | |
| bool | Compile (Handle< String > replacement, int capture_count, int subject_length) |
| void | Apply (ReplacementStringBuilder *builder, int match_from, int match_to, int32_t *match) |
| int | parts () |
| Zone * | zone () const |
Definition at line 3539 of file runtime.cc.
|
inlineexplicit |
Definition at line 3541 of file runtime.cc.
| void Apply | ( | ReplacementStringBuilder * | builder, |
| int | match_from, | ||
| int | match_to, | ||
| int32_t * | match | ||
| ) |
Definition at line 3781 of file runtime.cc.
References ReplacementStringBuilder::AddString(), ReplacementStringBuilder::AddSubjectSlice(), ASSERT_LT, and UNREACHABLE.
Definition at line 3733 of file runtime.cc.
References ASSERT, Isolate::factory(), String::FlatContent::IsAscii(), String::FlatContent::IsFlat(), String::FlatContent::IsTwoByte(), Factory::NewSubString(), String::FlatContent::ToOneByteVector(), String::FlatContent::ToUC16Vector(), and CompiledReplacement::zone().
|
inline |
Definition at line 3556 of file runtime.cc.
|
inline |
Definition at line 3560 of file runtime.cc.
Referenced by CompiledReplacement::Compile().