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

#include <regexp-utils.h>

Inheritance diagram for v8::internal::RegExpUtils:
Collaboration diagram for v8::internal::RegExpUtils:

Static Public Member Functions

static Handle< StringGenericCaptureGetter (Isolate *isolate, DirectHandle< RegExpMatchInfo > match_info, int capture, bool *ok=nullptr)
 
static bool IsMatchedCapture (Tagged< RegExpMatchInfo > match_info, int capture)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSetLastIndex (Isolate *isolate, DirectHandle< JSReceiver > regexp, uint64_t value)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetLastIndex (Isolate *isolate, DirectHandle< JSReceiver > recv)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSAnyRegExpExec (Isolate *isolate, DirectHandle< JSReceiver > regexp, DirectHandle< String > string, DirectHandle< Object > exec)
 
static bool IsUnmodifiedRegExp (Isolate *isolate, DirectHandle< Object > obj)
 
static uint64_t AdvanceStringIndex (Tagged< String > string, uint64_t index, bool unicode)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSetAdvancedStringIndex (Isolate *isolate, DirectHandle< JSReceiver > regexp, DirectHandle< String > string, bool unicode)
 

Detailed Description

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

Member Function Documentation

◆ AdvanceStringIndex()

uint64_t v8::internal::RegExpUtils::AdvanceStringIndex ( Tagged< String > string,
uint64_t index,
bool unicode )
static

Definition at line 187 of file regexp-utils.cc.

Here is the caller graph for this function:

◆ GenericCaptureGetter()

Handle< String > v8::internal::RegExpUtils::GenericCaptureGetter ( Isolate * isolate,
DirectHandle< RegExpMatchInfo > match_info,
int capture,
bool * ok = nullptr )
static

Definition at line 18 of file regexp-utils.cc.

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

◆ GetLastIndex()

MaybeDirectHandle< Object > v8::internal::RegExpUtils::GetLastIndex ( Isolate * isolate,
DirectHandle< JSReceiver > recv )
static

Definition at line 80 of file regexp-utils.cc.

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

◆ IsMatchedCapture()

bool v8::internal::RegExpUtils::IsMatchedCapture ( Tagged< RegExpMatchInfo > match_info,
int capture )
static

Definition at line 41 of file regexp-utils.cc.

Here is the call graph for this function:

◆ IsUnmodifiedRegExp()

bool v8::internal::RegExpUtils::IsUnmodifiedRegExp ( Isolate * isolate,
DirectHandle< Object > obj )
static

Definition at line 139 of file regexp-utils.cc.

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

◆ RegExpExec()

MaybeDirectHandle< JSAny > v8::internal::RegExpUtils::RegExpExec ( Isolate * isolate,
DirectHandle< JSReceiver > regexp,
DirectHandle< String > string,
DirectHandle< Object > exec )
static

Definition at line 93 of file regexp-utils.cc.

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

◆ SetAdvancedStringIndex()

MaybeDirectHandle< Object > v8::internal::RegExpUtils::SetAdvancedStringIndex ( Isolate * isolate,
DirectHandle< JSReceiver > regexp,
DirectHandle< String > string,
bool unicode )
static

Definition at line 205 of file regexp-utils.cc.

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

◆ SetLastIndex()

MaybeDirectHandle< Object > v8::internal::RegExpUtils::SetLastIndex ( Isolate * isolate,
DirectHandle< JSReceiver > regexp,
uint64_t value )
static

Definition at line 65 of file regexp-utils.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: