v8
3.11.10(node0.8.26)
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 498 of file jsregexp.h.
|
inline |
Definition at line 500 of file jsregexp.h.
|
inlineexplicit |
Definition at line 505 of file jsregexp.h.
void Advance | ( | int | by, |
bool | ascii | ||
) |
Definition at line 2621 of file jsregexp.cc.
References ASSERT.
Referenced by Trace::AdvanceCurrentPositionInTrace().
|
inline |
Definition at line 516 of file jsregexp.h.
Referenced by ChoiceNode::Emit(), RegExpNode::EmitQuickCheck(), and TextNode::GetQuickCheckDetails().
|
inline |
Definition at line 524 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck(), TextNode::GetQuickCheckDetails(), ChoiceNode::GetQuickCheckDetails(), Trace::is_trivial(), and QuickCheckDetails::set_characters().
void Clear | ( | ) |
Definition at line 2611 of file jsregexp.cc.
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 531 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().
void Merge | ( | QuickCheckDetails * | other, |
int | from_index | ||
) |
Definition at line 2642 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 526 of file jsregexp.h.
References ASSERT.
Referenced by TextNode::GetQuickCheckDetails(), and QuickCheckDetails::Merge().
bool Rationalize | ( | bool | ascii | ) |
Definition at line 2360 of file jsregexp.cc.
References String::kMaxAsciiCharCode, String::kMaxUtf16CodeUnit, QuickCheckDetails::Position::mask, and QuickCheckDetails::Position::value.
Referenced by RegExpNode::EmitQuickCheck().
|
inline |
Definition at line 517 of file jsregexp.h.
Referenced by TextNode::GetQuickCheckDetails(), and AssertionNode::GetQuickCheckDetails().
|
inline |
Definition at line 525 of file jsregexp.h.
References QuickCheckDetails::characters().
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 532 of file jsregexp.h.
Referenced by RegExpNode::EmitQuickCheck().