v8
3.25.30(node0.11.13)
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 1279 of file jsregexp.h.
BoyerMooreLookahead | ( | int | length, |
RegExpCompiler * | compiler, | ||
Zone * | zone | ||
) |
Definition at line 3662 of file jsregexp.cc.
References RegExpCompiler::ascii(), String::kMaxOneByteCharCode, String::kMaxUtf16CodeUnit, and BoyerMooreLookahead::length().
|
inline |
Definition at line 1291 of file jsregexp.h.
|
inline |
Definition at line 1285 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1287 of file jsregexp.h.
bool EmitSkipInstructions | ( | RegExpMacroAssembler * | masm | ) |
Definition at line 3782 of file jsregexp.cc.
References RegExpMacroAssembler::AdvanceCurrentPosition(), ASSERT, BoyerMoorePositionInfo::at(), RegExpMacroAssembler::Bind(), RegExpMacroAssembler::CheckBitInTable(), RegExpMacroAssembler::CheckCharacter(), RegExpMacroAssembler::CheckCharacterAfterAnd(), Isolate::factory(), RegExpMacroAssembler::GoTo(), Zone::isolate(), RegExpMacroAssembler::kTableMask, RegExpMacroAssembler::kTableSize, RegExpMacroAssembler::LoadCurrentCharacter(), BoyerMoorePositionInfo::map_count(), Factory::NewByteArray(), v8::internal::TENURED, and RegExpMacroAssembler::zone().
Referenced by ChoiceNode::Emit().
|
inline |
Definition at line 1283 of file jsregexp.h.
Referenced by BoyerMooreLookahead::BoyerMooreLookahead(), and TextNode::FillInBMInfo().
|
inline |
Definition at line 1284 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1293 of file jsregexp.h.
References v8::internal::info, and BoyerMoorePositionInfo::Set().
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1309 of file jsregexp.h.
Referenced by TextNode::FillInBMInfo(), and BoyerMooreLookahead::SetRest().
|
inline |
Definition at line 1299 of file jsregexp.h.
References Interval::from(), v8::internal::info, BoyerMoorePositionInfo::SetInterval(), and Interval::to().
Referenced by TextNode::FillInBMInfo().
|
inline |
Definition at line 1313 of file jsregexp.h.
References BoyerMooreLookahead::SetAll().
Referenced by ActionNode::FillInBMInfo(), BackReferenceNode::FillInBMInfo(), ChoiceNode::FillInBMInfo(), and LoopChoiceNode::FillInBMInfo().