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

#include <jsregexp.h>

Data Structures

struct  Position
 

Public Member Functions

 QuickCheckDetails ()
 
 QuickCheckDetails (int characters)
 
bool Rationalize (bool ascii)
 
void Merge (QuickCheckDetails *other, int from_index)
 
void Advance (int by, bool ascii)
 
void Clear ()
 
bool cannot_match ()
 
void set_cannot_match ()
 
int characters ()
 
void set_characters (int characters)
 
Positionpositions (int index)
 
uint32_t mask ()
 
uint32_t value ()
 

Detailed Description

Definition at line 498 of file jsregexp.h.

Constructor & Destructor Documentation

QuickCheckDetails ( )
inline

Definition at line 500 of file jsregexp.h.

QuickCheckDetails ( int  characters)
inlineexplicit

Definition at line 505 of file jsregexp.h.

Member Function Documentation

void Advance ( int  by,
bool  ascii 
)

Definition at line 2621 of file jsregexp.cc.

References ASSERT.

Referenced by Trace::AdvanceCurrentPositionInTrace().

bool cannot_match ( )
inline
void Clear ( )

Definition at line 2611 of file jsregexp.cc.

Referenced by ChoiceNode::Emit().

uint32_t mask ( )
inline

Definition at line 531 of file jsregexp.h.

Referenced by RegExpNode::EmitQuickCheck().

Position* positions ( int  index)
inline

Definition at line 526 of file jsregexp.h.

References ASSERT.

Referenced by TextNode::GetQuickCheckDetails(), and QuickCheckDetails::Merge().

void set_cannot_match ( )
inline
void set_characters ( int  characters)
inline

Definition at line 525 of file jsregexp.h.

References QuickCheckDetails::characters().

Referenced by ChoiceNode::Emit().

uint32_t value ( )
inline

Definition at line 532 of file jsregexp.h.

Referenced by RegExpNode::EmitQuickCheck().


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