![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <regexp-interpreter.h>
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) |
Definition at line 17 of file regexp-interpreter.h.
| Enumerator | |
|---|---|
| FAILURE | |
| SUCCESS | |
| EXCEPTION | |
| RETRY | |
| FALLBACK_TO_EXPERIMENTAL | |
Definition at line 19 of file regexp-interpreter.h.
|
staticprivate |
Definition at line 1068 of file regexp-interpreter.cc.
|
static |
Definition at line 1209 of file regexp-interpreter.cc.
|
static |
Definition at line 1134 of file regexp-interpreter.cc.