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

#include <regexp-interpreter.h>

Inheritance diagram for v8::internal::IrregexpInterpreter:
Collaboration diagram for v8::internal::IrregexpInterpreter:

Public Types

enum  Result {
  FAILURE = RegExp::kInternalRegExpFailure , SUCCESS = RegExp::kInternalRegExpSuccess , EXCEPTION = RegExp::kInternalRegExpException , RETRY = RegExp::kInternalRegExpRetry ,
  FALLBACK_TO_EXPERIMENTAL = RegExp::kInternalRegExpFallbackToExperimental
}
 

Static Public Member Functions

static int MatchForCallFromRuntime (Isolate *isolate, DirectHandle< IrRegExpData > regexp_data, DirectHandle< String > subject_string, int *output_registers, int output_register_count, int start_position)
 
static int 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 Result MatchInternal (Isolate *isolate, Tagged< TrustedByteArray > *code_array, Tagged< String > *subject_string, int *output_registers, int output_register_count, int total_register_count, int start_position, RegExp::CallOrigin call_origin, uint32_t backtrack_limit)
 

Static Private Member Functions

static int Match (Isolate *isolate, Tagged< IrRegExpData > regexp_data, Tagged< String > subject_string, int *output_registers, int output_register_count, int start_position, RegExp::CallOrigin call_origin)
 

Detailed Description

Definition at line 17 of file regexp-interpreter.h.

Member Enumeration Documentation

◆ Result

Enumerator
FAILURE 
SUCCESS 
EXCEPTION 
RETRY 
FALLBACK_TO_EXPERIMENTAL 

Definition at line 19 of file regexp-interpreter.h.

Member Function Documentation

◆ Match()

int v8::internal::IrregexpInterpreter::Match ( Isolate * isolate,
Tagged< IrRegExpData > regexp_data,
Tagged< String > subject_string,
int * output_registers,
int output_register_count,
int start_position,
RegExp::CallOrigin call_origin )
staticprivate

Definition at line 1068 of file regexp-interpreter.cc.

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

◆ MatchForCallFromJs()

int v8::internal::IrregexpInterpreter::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 1180 of file regexp-interpreter.cc.

Here is the call graph for this function:

◆ MatchForCallFromRuntime()

int v8::internal::IrregexpInterpreter::MatchForCallFromRuntime ( Isolate * isolate,
DirectHandle< IrRegExpData > regexp_data,
DirectHandle< String > subject_string,
int * output_registers,
int output_register_count,
int start_position )
static

Definition at line 1209 of file regexp-interpreter.cc.

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

◆ MatchInternal()

IrregexpInterpreter::Result v8::internal::IrregexpInterpreter::MatchInternal ( Isolate * isolate,
Tagged< TrustedByteArray > * code_array,
Tagged< String > * subject_string,
int * output_registers,
int output_register_count,
int total_register_count,
int start_position,
RegExp::CallOrigin call_origin,
uint32_t backtrack_limit )
static

Definition at line 1134 of file regexp-interpreter.cc.

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

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