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

#include <regexp-compiler.h>

Inheritance diagram for v8::internal::BoyerMoorePositionInfo:
Collaboration diagram for v8::internal::BoyerMoorePositionInfo:

Public Types

using Bitset = std::bitset<kMapSize>
 

Public Member Functions

bool at (int i) const
 
int map_count () const
 
void Set (int character)
 
void SetInterval (const Interval &interval)
 
void SetAll ()
 
bool is_non_word ()
 
bool is_word ()
 
Bitset raw_bitset () const
 
- 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
 

Static Public Attributes

static constexpr int kMapSize = 128
 
static constexpr int kMask = kMapSize - 1
 

Private Attributes

Bitset map_
 
int map_count_ = 0
 
ContainedInLattice w_ = kNotYet
 

Detailed Description

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

Member Typedef Documentation

◆ Bitset

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

Member Function Documentation

◆ at()

bool v8::internal::BoyerMoorePositionInfo::at ( int i) const
inline

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

Here is the caller graph for this function:

◆ is_non_word()

bool v8::internal::BoyerMoorePositionInfo::is_non_word ( )
inline

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

Here is the caller graph for this function:

◆ is_word()

bool v8::internal::BoyerMoorePositionInfo::is_word ( )
inline

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

Here is the caller graph for this function:

◆ map_count()

int v8::internal::BoyerMoorePositionInfo::map_count ( ) const
inline

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

◆ raw_bitset()

Bitset v8::internal::BoyerMoorePositionInfo::raw_bitset ( ) const
inline

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

◆ Set()

void v8::internal::BoyerMoorePositionInfo::Set ( int character)

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

◆ SetAll()

void v8::internal::BoyerMoorePositionInfo::SetAll ( )

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

◆ SetInterval()

void v8::internal::BoyerMoorePositionInfo::SetInterval ( const Interval & interval)

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

Member Data Documentation

◆ kMapSize

int v8::internal::BoyerMoorePositionInfo::kMapSize = 128
staticconstexpr

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

◆ kMask

int v8::internal::BoyerMoorePositionInfo::kMask = kMapSize - 1
staticconstexpr

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

◆ map_

Bitset v8::internal::BoyerMoorePositionInfo::map_
private

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

◆ map_count_

int v8::internal::BoyerMoorePositionInfo::map_count_ = 0
private

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

◆ w_

ContainedInLattice v8::internal::BoyerMoorePositionInfo::w_ = kNotYet
private

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


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