v8
3.25.30(node0.11.13)
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 535 of file jsregexp.h.
|
inline |
Definition at line 537 of file jsregexp.h.
|
inlineexplicit |
Definition at line 542 of file jsregexp.h.
void Advance | ( | int | by, |
bool | ascii | ||
) |
Definition at line 2715 of file jsregexp.cc.
References ASSERT.
Referenced by Trace::AdvanceCurrentPositionInTrace().
|
inline |
Definition at line 553 of file jsregexp.h.
Referenced by ChoiceNode::Emit(), RegExpNode::EmitQuickCheck(), and TextNode::GetQuickCheckDetails().
|
inline |
Definition at line 561 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck(), TextNode::GetQuickCheckDetails(), ChoiceNode::GetQuickCheckDetails(), Trace::is_trivial(), and QuickCheckDetails::set_characters().
void Clear | ( | ) |
Definition at line 2705 of file jsregexp.cc.
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 568 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().
void Merge | ( | QuickCheckDetails * | other, |
int | from_index | ||
) |
Definition at line 2736 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 563 of file jsregexp.h.
References ASSERT.
Referenced by TextNode::GetQuickCheckDetails(), and QuickCheckDetails::Merge().
bool Rationalize | ( | bool | ascii | ) |
Definition at line 2453 of file jsregexp.cc.
References String::kMaxOneByteCharCode, String::kMaxUtf16CodeUnit, QuickCheckDetails::Position::mask, and QuickCheckDetails::Position::value.
Referenced by RegExpNode::EmitQuickCheck().
|
inline |
Definition at line 554 of file jsregexp.h.
Referenced by TextNode::GetQuickCheckDetails(), and AssertionNode::GetQuickCheckDetails().
|
inline |
Definition at line 562 of file jsregexp.h.
References QuickCheckDetails::characters().
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 569 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().