v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
CompiledReplacement (Zone *zone) | |
void | Compile (Handle< String > replacement, int capture_count, int subject_length) |
void | Apply (ReplacementStringBuilder *builder, int match_from, int match_to, Handle< JSArray > last_match_info) |
int | parts () |
bool | simple_hint () |
Zone * | zone () const |
Definition at line 2529 of file runtime.cc.
|
inlineexplicit |
Definition at line 2531 of file runtime.cc.
void Apply | ( | ReplacementStringBuilder * | builder, |
int | match_from, | ||
int | match_to, | ||
Handle< JSArray > | last_match_info | ||
) |
Definition at line 2772 of file runtime.cc.
References ReplacementStringBuilder::AddString(), ReplacementStringBuilder::AddSubjectSlice(), FixedArray::cast(), RegExpImpl::GetCapture(), and UNREACHABLE.
Definition at line 2728 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 2546 of file runtime.cc.
|
inline |
Definition at line 2550 of file runtime.cc.
|
inline |
Definition at line 2554 of file runtime.cc.
Referenced by CompiledReplacement::Compile().