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

#include <regexp.h>

Inheritance diagram for v8::internal::RegExpResultsCache_MatchGlobalAtom:
Collaboration diagram for v8::internal::RegExpResultsCache_MatchGlobalAtom:

Static Public Member Functions

static void TryInsert (Isolate *isolate, Tagged< String > subject, Tagged< String > pattern, int number_of_matches, int last_match_index)
 
static bool TryGet (Isolate *isolate, Tagged< String > subject, Tagged< String > pattern, int *number_of_matches_out, int *last_match_index_out)
 
static void Clear (Heap *heap)
 

Static Public Attributes

static constexpr int kSize = kEntrySize
 

Static Private Attributes

static constexpr int kSubjectIndex = 0
 
static constexpr int kPatternIndex = 1
 
static constexpr int kNumberOfMatchesIndex = 2
 
static constexpr int kLastMatchIndexIndex = 3
 
static constexpr int kEntrySize = 4
 

Detailed Description

Definition at line 266 of file regexp.h.

Member Function Documentation

◆ Clear()

void v8::internal::RegExpResultsCache_MatchGlobalAtom::Clear ( Heap * heap)
static

Definition at line 1453 of file regexp.cc.

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

◆ TryGet()

bool v8::internal::RegExpResultsCache_MatchGlobalAtom::TryGet ( Isolate * isolate,
Tagged< String > subject,
Tagged< String > pattern,
int * number_of_matches_out,
int * last_match_index_out )
static

Definition at line 1421 of file regexp.cc.

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

◆ TryInsert()

void v8::internal::RegExpResultsCache_MatchGlobalAtom::TryInsert ( Isolate * isolate,
Tagged< String > subject,
Tagged< String > pattern,
int number_of_matches,
int last_match_index )
static

Definition at line 1403 of file regexp.cc.

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

Member Data Documentation

◆ kEntrySize

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kEntrySize = 4
staticconstexprprivate

Definition at line 281 of file regexp.h.

◆ kLastMatchIndexIndex

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kLastMatchIndexIndex = 3
staticconstexprprivate

Definition at line 280 of file regexp.h.

◆ kNumberOfMatchesIndex

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kNumberOfMatchesIndex = 2
staticconstexprprivate

Definition at line 279 of file regexp.h.

◆ kPatternIndex

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kPatternIndex = 1
staticconstexprprivate

Definition at line 278 of file regexp.h.

◆ kSize

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kSize = kEntrySize
staticconstexpr

Definition at line 284 of file regexp.h.

◆ kSubjectIndex

int v8::internal::RegExpResultsCache_MatchGlobalAtom::kSubjectIndex = 0
staticconstexprprivate

Definition at line 277 of file regexp.h.


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