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

#include <regexp-compiler.h>

Inheritance diagram for v8::internal::BoyerMooreLookahead:
Collaboration diagram for v8::internal::BoyerMooreLookahead:

Public Member Functions

 BoyerMooreLookahead (int length, RegExpCompiler *compiler, Zone *zone)
 
int length ()
 
int max_char ()
 
RegExpCompilercompiler ()
 
int Count (int map_number)
 
BoyerMoorePositionInfoat (int i)
 
void Set (int map_number, int character)
 
void SetInterval (int map_number, const Interval &interval)
 
void SetAll (int map_number)
 
void SetRest (int from_map)
 
void EmitSkipInstructions (RegExpMacroAssembler *masm)
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

int GetSkipTable (int min_lookahead, int max_lookahead, DirectHandle< ByteArray > boolean_skip_table, DirectHandle< ByteArray > nibble_table=DirectHandle< ByteArray >{})
 
bool FindWorthwhileInterval (int *from, int *to)
 
int FindBestInterval (int max_number_of_chars, int old_biggest_points, int *from, int *to)
 

Private Attributes

int length_
 
RegExpCompilercompiler_
 
int max_char_
 
ZoneList< BoyerMoorePositionInfo * > * bitmaps_
 

Detailed Description

Definition at line 165 of file regexp-compiler.h.

Constructor & Destructor Documentation

◆ BoyerMooreLookahead()

v8::internal::BoyerMooreLookahead::BoyerMooreLookahead ( int length,
RegExpCompiler * compiler,
Zone * zone )

Definition at line 2877 of file regexp-compiler.cc.

Here is the call graph for this function:

Member Function Documentation

◆ at()

BoyerMoorePositionInfo * v8::internal::BoyerMooreLookahead::at ( int i)
inline

Definition at line 175 of file regexp-compiler.h.

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

◆ compiler()

RegExpCompiler * v8::internal::BoyerMooreLookahead::compiler ( )
inline

Definition at line 171 of file regexp-compiler.h.

Here is the caller graph for this function:

◆ Count()

int v8::internal::BoyerMooreLookahead::Count ( int map_number)
inline

Definition at line 173 of file regexp-compiler.h.

Here is the caller graph for this function:

◆ EmitSkipInstructions()

void v8::internal::BoyerMooreLookahead::EmitSkipInstructions ( RegExpMacroAssembler * masm)

Definition at line 3010 of file regexp-compiler.cc.

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

◆ FindBestInterval()

int v8::internal::BoyerMooreLookahead::FindBestInterval ( int max_number_of_chars,
int old_biggest_points,
int * from,
int * to )
private

Definition at line 2911 of file regexp-compiler.cc.

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

◆ FindWorthwhileInterval()

bool v8::internal::BoyerMooreLookahead::FindWorthwhileInterval ( int * from,
int * to )
private

Definition at line 2891 of file regexp-compiler.cc.

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

◆ GetSkipTable()

int v8::internal::BoyerMooreLookahead::GetSkipTable ( int min_lookahead,
int max_lookahead,
DirectHandle< ByteArray > boolean_skip_table,
DirectHandle< ByteArray > nibble_table = DirectHandle<ByteArray>{} )
private

Definition at line 2972 of file regexp-compiler.cc.

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

◆ length()

int v8::internal::BoyerMooreLookahead::length ( )
inline

Definition at line 169 of file regexp-compiler.h.

Here is the caller graph for this function:

◆ max_char()

int v8::internal::BoyerMooreLookahead::max_char ( )
inline

Definition at line 170 of file regexp-compiler.h.

Here is the caller graph for this function:

◆ Set()

void v8::internal::BoyerMooreLookahead::Set ( int map_number,
int character )
inline

Definition at line 177 of file regexp-compiler.h.

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

◆ SetAll()

void v8::internal::BoyerMooreLookahead::SetAll ( int map_number)
inline

Definition at line 193 of file regexp-compiler.h.

Here is the caller graph for this function:

◆ SetInterval()

void v8::internal::BoyerMooreLookahead::SetInterval ( int map_number,
const Interval & interval )
inline

Definition at line 183 of file regexp-compiler.h.

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

◆ SetRest()

void v8::internal::BoyerMooreLookahead::SetRest ( int from_map)
inline

Definition at line 195 of file regexp-compiler.h.

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

Member Data Documentation

◆ bitmaps_

ZoneList<BoyerMoorePositionInfo*>* v8::internal::BoyerMooreLookahead::bitmaps_
private

Definition at line 209 of file regexp-compiler.h.

◆ compiler_

RegExpCompiler* v8::internal::BoyerMooreLookahead::compiler_
private

Definition at line 206 of file regexp-compiler.h.

◆ length_

int v8::internal::BoyerMooreLookahead::length_
private

Definition at line 205 of file regexp-compiler.h.

◆ max_char_

int v8::internal::BoyerMooreLookahead::max_char_
private

Definition at line 208 of file regexp-compiler.h.


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