v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <jsregexp.h>
Public Member Functions | |
BackReferenceNode (int start_reg, int end_reg, RegExpNode *on_success) | |
virtual void | Accept (NodeVisitor *visitor) |
int | start_register () |
int | end_register () |
virtual void | Emit (RegExpCompiler *compiler, Trace *trace) |
virtual int | EatsAtLeast (int still_to_find, int recursion_depth, bool not_at_start) |
virtual void | GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, int characters_filled_in, bool not_at_start) |
virtual void | FillInBMInfo (int offset, int recursion_depth, int budget, BoyerMooreLookahead *bm, bool not_at_start) |
Public Member Functions inherited from SeqRegExpNode | |
SeqRegExpNode (RegExpNode *on_success) | |
RegExpNode * | on_success () |
void | set_on_success (RegExpNode *node) |
virtual RegExpNode * | FilterASCII (int depth) |
Public Member Functions inherited from RegExpNode | |
RegExpNode (Zone *zone) | |
virtual | ~RegExpNode () |
bool | EmitQuickCheck (RegExpCompiler *compiler, Trace *trace, bool preload_has_checked_bounds, Label *on_possible_success, QuickCheckDetails *details_return, bool fall_through_on_failure) |
virtual int | GreedyLoopTextLength () |
virtual RegExpNode * | GetSuccessorOfOmnivorousTextNode (RegExpCompiler *compiler) |
RegExpNode * | replacement () |
RegExpNode * | set_replacement (RegExpNode *replacement) |
void | SaveBMInfo (BoyerMooreLookahead *bm, bool not_at_start, int offset) |
Label * | label () |
NodeInfo * | info () |
BoyerMooreLookahead * | bm_info (bool not_at_start) |
Zone * | zone () const |
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) |
Additional Inherited Members | |
Static Public Attributes inherited from RegExpNode | |
static const int | kNodeIsTooComplexForGreedyLoops = -1 |
static const int | kFillInBMBudget = 200 |
static const int | kMaxCopiesCodeGenerated = 10 |
Protected Types inherited from RegExpNode | |
enum | LimitResult { DONE, CONTINUE } |
Protected Member Functions inherited from SeqRegExpNode | |
RegExpNode * | FilterSuccessor (int depth) |
Protected Member Functions inherited from RegExpNode | |
LimitResult | LimitVersions (RegExpCompiler *compiler, Trace *trace) |
void | set_bm_info (bool not_at_start, BoyerMooreLookahead *bm) |
Protected Attributes inherited from RegExpNode | |
RegExpNode * | replacement_ |
Definition at line 924 of file jsregexp.h.
|
inline |
Definition at line 926 of file jsregexp.h.
|
virtual |
Implements RegExpNode.
|
virtual |
Implements RegExpNode.
Definition at line 2264 of file jsregexp.cc.
References RegExpCompiler::kMaxRecursion.
|
virtual |
Implements RegExpNode.
Definition at line 4194 of file jsregexp.cc.
References ASSERT, ASSERT_EQ, Trace::backtrack(), RegExpMacroAssembler::CheckNotBackReference(), RegExpMacroAssembler::CheckNotBackReferenceIgnoreCase(), RegExpNode::CONTINUE, RegExpNode::DONE, RegExpNode::Emit(), Trace::Flush(), RegExpCompiler::ignore_case(), Trace::is_trivial(), RegExpNode::LimitVersions(), RegExpCompiler::macro_assembler(), and SeqRegExpNode::on_success().
|
inline |
Definition at line 934 of file jsregexp.h.
|
virtual |
Reimplemented from SeqRegExpNode.
Definition at line 5672 of file jsregexp.cc.
References RegExpNode::SaveBMInfo(), and BoyerMooreLookahead::SetRest().
|
inlinevirtual |
Implements RegExpNode.
Definition at line 939 of file jsregexp.h.
|
inline |
Definition at line 933 of file jsregexp.h.