v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
runtime-regexp.cc File Reference
Include dependency graph for runtime-regexp.cc:

Go to the source code of this file.

Classes

class  v8::internal::CompiledReplacement
 
struct  v8::internal::CompiledReplacement::ReplacementPart
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define CALL_Generic()
 
#define CALL_OneCharPattern()
 

Functions

void v8::internal::FindOneByteStringIndices (base::Vector< const uint8_t > subject, uint8_t pattern, std::vector< int > *indices, unsigned int limit)
 
void v8::internal::FindTwoByteStringIndices (const base::Vector< const base::uc16 > subject, base::uc16 pattern, std::vector< int > *indices, unsigned int limit)
 
template<typename SubjectChar , typename PatternChar >
void v8::internal::FindStringIndices (Isolate *isolate, base::Vector< const SubjectChar > subject, base::Vector< const PatternChar > pattern, std::vector< int > *indices, unsigned int limit)
 
void v8::internal::FindStringIndicesDispatch (Isolate *isolate, Tagged< String > subject, Tagged< String > pattern, std::vector< int > *indices, unsigned int limit)
 
template<typename ResultSeqString >
static V8_WARN_UNUSED_RESULT Tagged< Objectv8::internal::StringReplaceGlobalAtomRegExpWithString (Isolate *isolate, DirectHandle< String > subject, DirectHandle< JSRegExp > pattern_regexp, DirectHandle< String > replacement, DirectHandle< RegExpMatchInfo > last_match_info, DirectHandle< AtomRegExpData > regexp_data)
 
static V8_WARN_UNUSED_RESULT Tagged< Objectv8::internal::StringReplaceGlobalRegExpWithString (Isolate *isolate, DirectHandle< String > subject, DirectHandle< JSRegExp > regexp, DirectHandle< RegExpData > regexp_data, DirectHandle< String > replacement, DirectHandle< RegExpMatchInfo > last_match_info)
 
template<typename ResultSeqString >
static V8_WARN_UNUSED_RESULT Tagged< Objectv8::internal::StringReplaceGlobalRegExpWithEmptyString (Isolate *isolate, DirectHandle< String > subject, DirectHandle< JSRegExp > regexp, DirectHandle< RegExpData > regexp_data, DirectHandle< RegExpMatchInfo > last_match_info)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StringSplit)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpExec)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpGrowRegExpMatchInfo)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpExperimentalOneshotExec)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpBuildIndices)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpExecMultiple)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StringReplaceNonGlobalRegExpWithFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpSplit)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpReplaceRT)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpInitializeAndCompile)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpStringFromFlags)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RegExpMatchGlobalAtom)
 

Macro Definition Documentation

◆ CALL_Generic

#define CALL_Generic ( )
Value:
RegExpMatchGlobalAtom_Generic(isolate, sv, pv, is_unicode, start_index, \
number_of_matches, last_match_index, no_gc);

◆ CALL_OneCharPattern

#define CALL_OneCharPattern ( )
Value:
RegExpMatchGlobalAtom_OneCharPattern(isolate, sv, pv[0], start_index, \
number_of_matches, last_match_index, \
no_gc);

Variable Documentation

◆ capture_name_map_

DirectHandle<FixedArray> capture_name_map_
private

Definition at line 1118 of file runtime-regexp.cc.

◆ captures_

base::Vector<DirectHandle<Object> > captures_
private

Definition at line 1201 of file runtime-regexp.cc.

◆ groups_obj_

DirectHandle<JSReceiver> groups_obj_
private

Definition at line 1204 of file runtime-regexp.cc.

◆ has_named_captures_

bool has_named_captures_
private

Definition at line 1117 of file runtime-regexp.cc.

◆ isolate_

Isolate* isolate_
private

Definition at line 1113 of file runtime-regexp.cc.

◆ match_

DirectHandle<String> match_
private

Definition at line 1199 of file runtime-regexp.cc.

◆ match_info_

DirectHandle<RegExpMatchInfo> match_info_
private

Definition at line 1115 of file runtime-regexp.cc.

◆ match_position_

const uint32_t match_position_
private

Definition at line 1200 of file runtime-regexp.cc.

◆ subject_

DirectHandle<String> subject_
private

Definition at line 1114 of file runtime-regexp.cc.