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
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 515 of file jsregexp.h.

Constructor & Destructor Documentation

QuickCheckDetails ( )
inline

Definition at line 517 of file jsregexp.h.

QuickCheckDetails ( int  characters)
inlineexplicit

Definition at line 522 of file jsregexp.h.

Member Function Documentation

void Advance ( int  by,
bool  ascii 
)

Definition at line 2773 of file jsregexp.cc.

References ASSERT.

Referenced by Trace::AdvanceCurrentPositionInTrace().

bool cannot_match ( )
inline
void Clear ( )

Definition at line 2763 of file jsregexp.cc.

Referenced by ChoiceNode::Emit().

uint32_t mask ( )
inline

Definition at line 548 of file jsregexp.h.

Referenced by RegExpNode::EmitQuickCheck().

Position* positions ( int  index)
inline

Definition at line 543 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 542 of file jsregexp.h.

References QuickCheckDetails::characters().

Referenced by ChoiceNode::Emit().

uint32_t value ( )
inline

Definition at line 549 of file jsregexp.h.

Referenced by RegExpNode::EmitQuickCheck().


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