v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#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) |
Position * | positions (int index) |
uint32_t | mask () |
uint32_t | value () |
Definition at line 515 of file jsregexp.h.
|
inline |
Definition at line 517 of file jsregexp.h.
|
inlineexplicit |
Definition at line 522 of file jsregexp.h.
void Advance | ( | int | by, |
bool | ascii | ||
) |
Definition at line 2773 of file jsregexp.cc.
References ASSERT.
Referenced by Trace::AdvanceCurrentPositionInTrace().
|
inline |
Definition at line 533 of file jsregexp.h.
Referenced by ChoiceNode::Emit(), RegExpNode::EmitQuickCheck(), and TextNode::GetQuickCheckDetails().
|
inline |
Definition at line 541 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck(), TextNode::GetQuickCheckDetails(), ChoiceNode::GetQuickCheckDetails(), Trace::is_trivial(), and QuickCheckDetails::set_characters().
void Clear | ( | ) |
Definition at line 2763 of file jsregexp.cc.
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 548 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().
void Merge | ( | QuickCheckDetails * | other, |
int | from_index | ||
) |
Definition at line 2794 of file jsregexp.cc.
References ASSERT, QuickCheckDetails::Position::determines_perfectly, QuickCheckDetails::Position::mask, QuickCheckDetails::positions(), and QuickCheckDetails::Position::value.
Referenced by ChoiceNode::GetQuickCheckDetails().
|
inline |
Definition at line 543 of file jsregexp.h.
References ASSERT.
Referenced by TextNode::GetQuickCheckDetails(), and QuickCheckDetails::Merge().
bool Rationalize | ( | bool | ascii | ) |
Definition at line 2512 of file jsregexp.cc.
References String::kMaxAsciiCharCode, String::kMaxUtf16CodeUnit, QuickCheckDetails::Position::mask, and QuickCheckDetails::Position::value.
Referenced by RegExpNode::EmitQuickCheck().
|
inline |
Definition at line 534 of file jsregexp.h.
Referenced by TextNode::GetQuickCheckDetails(), and AssertionNode::GetQuickCheckDetails().
|
inline |
Definition at line 542 of file jsregexp.h.
References QuickCheckDetails::characters().
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 549 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().