v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BoyerMoorePositionInfo Class Reference

#include <jsregexp.h>

Inheritance diagram for BoyerMoorePositionInfo:
Collaboration diagram for BoyerMoorePositionInfo:

Public Member Functions

 BoyerMoorePositionInfo (Zone *zone)
 
bool & at (int i)
 
int map_count () const
 
void Set (int character)
 
void SetInterval (const Interval &interval)
 
void SetAll ()
 
bool is_non_word ()
 
bool is_word ()
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Static Public Attributes

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

Detailed Description

Definition at line 1248 of file jsregexp.h.

Constructor & Destructor Documentation

BoyerMoorePositionInfo ( Zone zone)
inlineexplicit

Definition at line 1250 of file jsregexp.h.

References List< T, P >::Add(), and BoyerMoorePositionInfo::kMapSize.

Member Function Documentation

bool& at ( int  i)
inline

Definition at line 1262 of file jsregexp.h.

References List< T, P >::at().

Referenced by BoyerMooreLookahead::EmitSkipInstructions().

bool is_non_word ( )
inline

Definition at line 1272 of file jsregexp.h.

References v8::internal::kLatticeOut.

bool is_word ( )
inline

Definition at line 1273 of file jsregexp.h.

References v8::internal::kLatticeIn.

int map_count ( ) const
inline

Definition at line 1267 of file jsregexp.h.

Referenced by BoyerMooreLookahead::EmitSkipInstructions().

void Set ( int  character)

Definition at line 3658 of file jsregexp.cc.

Referenced by BoyerMooreLookahead::Set().

void SetAll ( )

Definition at line 3687 of file jsregexp.cc.

References v8::internal::kLatticeUnknown.

void SetInterval ( const Interval interval)

Field Documentation

const int kMapSize = 128
static

Definition at line 1264 of file jsregexp.h.

Referenced by BoyerMoorePositionInfo::BoyerMoorePositionInfo().

const int kMask = kMapSize - 1
static

Definition at line 1265 of file jsregexp.h.


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