v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <jsregexp.h>
Public Member Functions | |
NegativeLookaheadChoiceNode (GuardedAlternative this_must_fail, GuardedAlternative then_do_this, Zone *zone) | |
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) |
virtual bool | try_to_emit_quick_check_for_alternative (int i) |
virtual RegExpNode * | FilterASCII (int depth) |
Public Member Functions inherited from ChoiceNode | |
ChoiceNode (int expected_size, Zone *zone) | |
virtual void | Accept (NodeVisitor *visitor) |
void | AddAlternative (GuardedAlternative node) |
ZoneList< GuardedAlternative > * | alternatives () |
DispatchTable * | GetTable (bool ignore_case) |
virtual void | Emit (RegExpCompiler *compiler, Trace *trace) |
int | EatsAtLeastHelper (int still_to_find, int recursion_depth, RegExpNode *ignore_this_node, bool not_at_start) |
bool | being_calculated () |
bool | not_at_start () |
void | set_not_at_start () |
void | set_being_calculated (bool b) |
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 ChoiceNode | |
int | GreedyLoopTextLengthForAlternative (GuardedAlternative *alternative) |
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 ChoiceNode | |
ZoneList< GuardedAlternative > * | alternatives_ |
Protected Attributes inherited from RegExpNode | |
RegExpNode * | replacement_ |
Definition at line 1127 of file jsregexp.h.
|
inlineexplicit |
Definition at line 1129 of file jsregexp.h.
References ChoiceNode::AddAlternative().
|
virtual |
Reimplemented from ChoiceNode.
Definition at line 2439 of file jsregexp.cc.
References RegExpNode::EatsAtLeast(), and RegExpCompiler::kMaxRecursion.
|
inlinevirtual |
Reimplemented from ChoiceNode.
Definition at line 1143 of file jsregexp.h.
References ChoiceNode::alternatives_, and RegExpNode::set_bm_info().
|
virtual |
Reimplemented from ChoiceNode.
Definition at line 2966 of file jsregexp.cc.
References RegExpNode::FilterASCII(), and v8::internal::NULL.
|
virtual |
Reimplemented from ChoiceNode.
Definition at line 2450 of file jsregexp.cc.
References RegExpNode::GetQuickCheckDetails().
|
inlinevirtual |
Reimplemented from ChoiceNode.
Definition at line 1157 of file jsregexp.h.