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

#include <experimental.h>

Inheritance diagram for v8::internal::ExperimentalRegExp:
Collaboration diagram for v8::internal::ExperimentalRegExp:

Static Public Member Functions

static bool CanBeHandled (RegExpTree *tree, DirectHandle< String > pattern, RegExpFlags flags, int capture_count)
 
static void Initialize (Isolate *isolate, DirectHandle< JSRegExp > re, DirectHandle< String > pattern, RegExpFlags flags, int capture_count)
 
static bool IsCompiled (DirectHandle< IrRegExpData > re_data, Isolate *isolate)
 
static V8_WARN_UNUSED_RESULT bool Compile (Isolate *isolate, DirectHandle< IrRegExpData > re_data)
 
static int32_t MatchForCallFromJs (Address subject, int32_t start_position, Address input_start, Address input_end, int *output_registers, int32_t output_register_count, RegExp::CallOrigin call_origin, Isolate *isolate, Address regexp_data)
 
static std::optional< int > Exec (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *result_offsets_vector, uint32_t result_offsets_vector_length)
 
static int32_t ExecRaw (Isolate *isolate, RegExp::CallOrigin call_origin, Tagged< IrRegExpData > regexp_data, Tagged< String > subject, int32_t *output_registers, int32_t output_register_count, int32_t subject_index)
 
static std::optional< int > OneshotExec (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject, int index, int32_t *result_offsets_vector, uint32_t result_offsets_vector_length)
 
static int32_t OneshotExecRaw (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject, int32_t *output_registers, int32_t output_register_count, int32_t subject_index)
 

Static Public Attributes

static constexpr bool kSupportsUnicode = false
 

Detailed Description

Definition at line 14 of file experimental.h.

Member Function Documentation

◆ CanBeHandled()

bool v8::internal::ExperimentalRegExp::CanBeHandled ( RegExpTree * tree,
DirectHandle< String > pattern,
RegExpFlags flags,
int capture_count )
static

Definition at line 19 of file experimental.cc.

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

◆ Compile()

bool v8::internal::ExperimentalRegExp::Compile ( Isolate * isolate,
DirectHandle< IrRegExpData > re_data )
static

Definition at line 113 of file experimental.cc.

Here is the caller graph for this function:

◆ Exec()

std::optional< int > v8::internal::ExperimentalRegExp::Exec ( 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 220 of file experimental.cc.

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

◆ ExecRaw()

int32_t v8::internal::ExperimentalRegExp::ExecRaw ( Isolate * isolate,
RegExp::CallOrigin call_origin,
Tagged< IrRegExpData > regexp_data,
Tagged< String > subject,
int32_t * output_registers,
int32_t output_register_count,
int32_t subject_index )
static

Definition at line 173 of file experimental.cc.

Here is the caller graph for this function:

◆ Initialize()

void v8::internal::ExperimentalRegExp::Initialize ( Isolate * isolate,
DirectHandle< JSRegExp > re,
DirectHandle< String > pattern,
RegExpFlags flags,
int capture_count )
static

Definition at line 33 of file experimental.cc.

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

◆ IsCompiled()

bool v8::internal::ExperimentalRegExp::IsCompiled ( DirectHandle< IrRegExpData > re_data,
Isolate * isolate )
static

Definition at line 46 of file experimental.cc.

Here is the caller graph for this function:

◆ MatchForCallFromJs()

int32_t v8::internal::ExperimentalRegExp::MatchForCallFromJs ( Address subject,
int32_t start_position,
Address input_start,
Address input_end,
int * output_registers,
int32_t output_register_count,
RegExp::CallOrigin call_origin,
Isolate * isolate,
Address regexp_data )
static

Definition at line 196 of file experimental.cc.

Here is the call graph for this function:

◆ OneshotExec()

std::optional< int > v8::internal::ExperimentalRegExp::OneshotExec ( 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 289 of file experimental.cc.

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

◆ OneshotExecRaw()

int32_t v8::internal::ExperimentalRegExp::OneshotExecRaw ( Isolate * isolate,
DirectHandle< IrRegExpData > regexp_data,
DirectHandle< String > subject,
int32_t * output_registers,
int32_t output_register_count,
int32_t subject_index )
static

Definition at line 267 of file experimental.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ kSupportsUnicode

bool v8::internal::ExperimentalRegExp::kSupportsUnicode = false
staticconstexpr

Definition at line 63 of file experimental.h.


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