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

#include <regexp.h>

Collaboration diagram for v8::internal::RegExpGlobalExecRunner:

Public Member Functions

 RegExpGlobalExecRunner (DirectHandle< RegExpData > regexp_data, DirectHandle< String > subject, Isolate *isolate)
 
int32_t * FetchNext ()
 
int32_t * LastSuccessfulMatch () const
 
bool HasException () const
 

Private Member Functions

int AdvanceZeroLength (int last_index) const
 
int max_matches () const
 

Private Attributes

RegExpResultVectorScope result_vector_scope_
 
int num_matches_ = 0
 
int current_match_index_ = 0
 
int registers_per_match_ = 0
 
int32_t * register_array_ = nullptr
 
int register_array_size_ = 0
 
DirectHandle< RegExpDataregexp_data_
 
DirectHandle< Stringsubject_
 
Isolate *const isolate_
 

Detailed Description

Definition at line 183 of file regexp.h.

Constructor & Destructor Documentation

◆ RegExpGlobalExecRunner()

v8::internal::RegExpGlobalExecRunner::RegExpGlobalExecRunner ( DirectHandle< RegExpData > regexp_data,
DirectHandle< String > subject,
Isolate * isolate )

Definition at line 1143 of file regexp.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AdvanceZeroLength()

int v8::internal::RegExpGlobalExecRunner::AdvanceZeroLength ( int last_index) const
private

Definition at line 1208 of file regexp.cc.

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

◆ FetchNext()

int32_t * v8::internal::RegExpGlobalExecRunner::FetchNext ( )

Definition at line 1219 of file regexp.cc.

Here is the call graph for this function:

◆ HasException()

bool v8::internal::RegExpGlobalExecRunner::HasException ( ) const
inline

Definition at line 196 of file regexp.h.

◆ LastSuccessfulMatch()

int32_t * v8::internal::RegExpGlobalExecRunner::LastSuccessfulMatch ( ) const

Definition at line 1292 of file regexp.cc.

◆ max_matches()

int v8::internal::RegExpGlobalExecRunner::max_matches ( ) const
inlineprivate

Definition at line 201 of file regexp.h.

Here is the caller graph for this function:

Member Data Documentation

◆ current_match_index_

int v8::internal::RegExpGlobalExecRunner::current_match_index_ = 0
private

Definition at line 208 of file regexp.h.

◆ isolate_

Isolate* const v8::internal::RegExpGlobalExecRunner::isolate_
private

Definition at line 215 of file regexp.h.

◆ num_matches_

int v8::internal::RegExpGlobalExecRunner::num_matches_ = 0
private

Definition at line 207 of file regexp.h.

◆ regexp_data_

DirectHandle<RegExpData> v8::internal::RegExpGlobalExecRunner::regexp_data_
private

Definition at line 213 of file regexp.h.

◆ register_array_

int32_t* v8::internal::RegExpGlobalExecRunner::register_array_ = nullptr
private

Definition at line 211 of file regexp.h.

◆ register_array_size_

int v8::internal::RegExpGlobalExecRunner::register_array_size_ = 0
private

Definition at line 212 of file regexp.h.

◆ registers_per_match_

int v8::internal::RegExpGlobalExecRunner::registers_per_match_ = 0
private

Definition at line 209 of file regexp.h.

◆ result_vector_scope_

RegExpResultVectorScope v8::internal::RegExpGlobalExecRunner::result_vector_scope_
private

Definition at line 206 of file regexp.h.

◆ subject_

DirectHandle<String> v8::internal::RegExpGlobalExecRunner::subject_
private

Definition at line 214 of file regexp.h.


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