v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <jsregexp.h>
Public Member Functions | |
BoyerMooreLookahead (int length, RegExpCompiler *compiler, Zone *zone) | |
int | length () |
int | max_char () |
RegExpCompiler * | compiler () |
int | Count (int map_number) |
BoyerMoorePositionInfo * | at (int i) |
void | Set (int map_number, int character) |
void | SetInterval (int map_number, const Interval &interval) |
void | SetAll (int map_number) |
void | SetRest (int from_map) |
bool | EmitSkipInstructions (RegExpMacroAssembler *masm) |
Public Member Functions inherited from ZoneObject | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Definition at line 1268 of file jsregexp.h.
BoyerMooreLookahead | ( | int | length, |
RegExpCompiler * | compiler, | ||
Zone * | zone | ||
) |
Definition at line 3544 of file jsregexp.cc.
References RegExpCompiler::ascii(), String::kMaxAsciiCharCode, String::kMaxUtf16CodeUnit, and BoyerMooreLookahead::length().
|
inline |
Definition at line 1280 of file jsregexp.h.
|
inline |
Definition at line 1274 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1276 of file jsregexp.h.
bool EmitSkipInstructions | ( | RegExpMacroAssembler * | masm | ) |
Definition at line 3664 of file jsregexp.cc.
References RegExpMacroAssembler::AdvanceCurrentPosition(), ASSERT, BoyerMoorePositionInfo::at(), RegExpMacroAssembler::Bind(), RegExpMacroAssembler::CheckBitInTable(), RegExpMacroAssembler::CheckCharacter(), RegExpMacroAssembler::CheckCharacterAfterAnd(), FACTORY, RegExpMacroAssembler::GoTo(), RegExpMacroAssembler::kTableMask, RegExpMacroAssembler::kTableSize, RegExpMacroAssembler::LoadCurrentCharacter(), BoyerMoorePositionInfo::map_count(), and v8::internal::TENURED.
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 1272 of file jsregexp.h.
Referenced by BoyerMooreLookahead::BoyerMooreLookahead(), and TextNode::FillInBMInfo().
|
inline |
Definition at line 1273 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1282 of file jsregexp.h.
References BoyerMoorePositionInfo::Set().
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1298 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo(), and BoyerMooreLookahead::SetRest().
|
inline |
Definition at line 1288 of file jsregexp.h.
References Interval::from(), BoyerMoorePositionInfo::SetInterval(), and Interval::to().
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1302 of file jsregexp.h.
References BoyerMooreLookahead::SetAll().
Referenced by ActionNode::FillInBMInfo(), BackReferenceNode::FillInBMInfo(), ChoiceNode::FillInBMInfo(), and LoopChoiceNode::FillInBMInfo().