v8
3.14.5(node0.10.28)
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 2554 of file runtime.cc.
|
inlineexplicit |
Definition at line 2556 of file runtime.cc.
void Apply | ( | ReplacementStringBuilder * | builder, |
int | match_from, | ||
int | match_to, | ||
int32_t * | match | ||
) |
Definition at line 2796 of file runtime.cc.
References ReplacementStringBuilder::AddString(), ReplacementStringBuilder::AddSubjectSlice(), ASSERT_LT, and UNREACHABLE.
Definition at line 2748 of file runtime.cc.
References List< T, P >::Add(), ASSERT, Isolate::factory(), String::FlatContent::IsAscii(), String::FlatContent::IsFlat(), String::FlatContent::IsTwoByte(), Factory::NewSubString(), String::FlatContent::ToAsciiVector(), String::FlatContent::ToUC16Vector(), and CompiledReplacement::zone().
|
inline |
Definition at line 2571 of file runtime.cc.
|
inline |
Definition at line 2575 of file runtime.cc.
Referenced by CompiledReplacement::Compile().