v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::RegExpImpl Class Referencefinal
Inheritance diagram for v8::internal::RegExpImpl:
Collaboration diagram for v8::internal::RegExpImpl:

Static Public Member Functions

static DirectHandle< StringToString (DirectHandle< Object > value)
 
static void IrregexpInitialize (Isolate *isolate, DirectHandle< JSRegExp > re, DirectHandle< String > pattern, RegExpFlags flags, int capture_count, uint32_t backtrack_limit)
 
static int IrregexpPrepare (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject)
 
static void AtomCompile (Isolate *isolate, DirectHandle< JSRegExp > re, DirectHandle< String > pattern, RegExpFlags flags, DirectHandle< String > match_pattern)
 
static int AtomExecRaw (Isolate *isolate, DirectHandle< AtomRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *result_offsets_vector, int result_offsets_vector_length)
 
static int AtomExecRaw (Isolate *isolate, const String::FlatContent &pattern, const String::FlatContent &subject, int index, RegExpFlags flags, int32_t *result_offsets_vector, int result_offsets_vector_length, const DisallowGarbageCollection &no_gc)
 
static int AtomExec (Isolate *isolate, DirectHandle< AtomRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *result_offsets_vector, int result_offsets_vector_length)
 
static int IrregexpExecRaw (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *output, int output_size)
 
static V8_WARN_UNUSED_RESULT std::optional< int > IrregexpExec (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *result_offsets_vector, uint32_t result_offsets_vector_length)
 
static bool CompileIrregexp (Isolate *isolate, DirectHandle< IrRegExpData > re_data, DirectHandle< String > sample_subject, bool is_one_byte)
 
static bool EnsureCompiledIrregexp (Isolate *isolate, DirectHandle< IrRegExpData > re_data, DirectHandle< String > sample_subject, bool is_one_byte)
 
static bool Compile (Isolate *isolate, Zone *zone, RegExpCompileData *input, RegExpFlags flags, DirectHandle< String > pattern, DirectHandle< String > sample_subject, bool is_one_byte, uint32_t &backtrack_limit)
 

Detailed Description

Definition at line 32 of file regexp.cc.

Member Function Documentation

◆ AtomCompile()

void v8::internal::RegExpImpl::AtomCompile ( Isolate * isolate,
DirectHandle< JSRegExp > re,
DirectHandle< String > pattern,
RegExpFlags flags,
DirectHandle< String > match_pattern )
static

Definition at line 386 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AtomExec()

int v8::internal::RegExpImpl::AtomExec ( Isolate * isolate,
DirectHandle< AtomRegExpData > regexp_data,
DirectHandle< String > subject,
int index,
int32_t * result_offsets_vector,
int result_offsets_vector_length )
static

Definition at line 512 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AtomExecRaw() [1/2]

int v8::internal::RegExpImpl::AtomExecRaw ( Isolate * isolate,
const String::FlatContent & pattern,
const String::FlatContent & subject,
int index,
RegExpFlags flags,
int32_t * result_offsets_vector,
int result_offsets_vector_length,
const DisallowGarbageCollection & no_gc )
static

Definition at line 458 of file regexp.cc.

Here is the call graph for this function:

◆ AtomExecRaw() [2/2]

int v8::internal::RegExpImpl::AtomExecRaw ( Isolate * isolate,
DirectHandle< AtomRegExpData > regexp_data,
DirectHandle< String > subject,
int index,
int32_t * result_offsets_vector,
int result_offsets_vector_length )
static

Definition at line 440 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Compile()

bool v8::internal::RegExpImpl::Compile ( Isolate * isolate,
Zone * zone,
RegExpCompileData * input,
RegExpFlags flags,
DirectHandle< String > pattern,
DirectHandle< String > sample_subject,
bool is_one_byte,
uint32_t & backtrack_limit )
static

Definition at line 962 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompileIrregexp()

bool v8::internal::RegExpImpl::CompileIrregexp ( Isolate * isolate,
DirectHandle< IrRegExpData > re_data,
DirectHandle< String > sample_subject,
bool is_one_byte )
static

Definition at line 621 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnsureCompiledIrregexp()

bool v8::internal::RegExpImpl::EnsureCompiledIrregexp ( Isolate * isolate,
DirectHandle< IrRegExpData > re_data,
DirectHandle< String > sample_subject,
bool is_one_byte )
inlinestatic

Definition at line 531 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IrregexpExec()

std::optional< int > v8::internal::RegExpImpl::IrregexpExec ( Isolate * isolate,
DirectHandle< IrRegExpData > regexp_data,
DirectHandle< String > subject,
int index,
int32_t * result_offsets_vector,
uint32_t result_offsets_vector_length )
static

Definition at line 816 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IrregexpExecRaw()

int v8::internal::RegExpImpl::IrregexpExecRaw ( Isolate * isolate,
DirectHandle< IrRegExpData > regexp_data,
DirectHandle< String > subject,
int index,
int32_t * output,
int output_size )
static

Definition at line 741 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IrregexpInitialize()

void v8::internal::RegExpImpl::IrregexpInitialize ( Isolate * isolate,
DirectHandle< JSRegExp > re,
DirectHandle< String > pattern,
RegExpFlags flags,
int capture_count,
uint32_t backtrack_limit )
static

Definition at line 713 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IrregexpPrepare()

int v8::internal::RegExpImpl::IrregexpPrepare ( Isolate * isolate,
DirectHandle< IrRegExpData > regexp_data,
DirectHandle< String > subject )
static

Definition at line 724 of file regexp.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToString()

static DirectHandle< String > v8::internal::RegExpImpl::ToString ( DirectHandle< Object > value)
static

The documentation for this class was generated from the following file: