Flutter Engine
The Flutter Engine
|
#include <regexp.h>
Public Member Functions | |
ChoiceNode (intptr_t expected_size, Zone *zone) | |
virtual void | Accept (NodeVisitor *visitor) |
void | AddAlternative (GuardedAlternative node) |
ZoneGrowableArray< GuardedAlternative > * | alternatives () |
virtual void | Emit (RegExpCompiler *compiler, Trace *trace) |
virtual intptr_t | EatsAtLeast (intptr_t still_to_find, intptr_t budget, bool not_at_start) |
intptr_t | EatsAtLeastHelper (intptr_t still_to_find, intptr_t budget, RegExpNode *ignore_this_node, bool not_at_start) |
virtual void | GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, intptr_t characters_filled_in, bool not_at_start) |
virtual void | FillInBMInfo (intptr_t offset, intptr_t budget, BoyerMooreLookahead *bm, bool not_at_start) |
bool | being_calculated () |
bool | not_at_start () |
void | set_not_at_start () |
void | set_being_calculated (bool b) |
virtual bool | try_to_emit_quick_check_for_alternative (bool is_first) |
virtual RegExpNode * | FilterOneByte (intptr_t depth) |
virtual bool | read_backward () |
Public Member Functions inherited from dart::RegExpNode | |
RegExpNode (Zone *zone) | |
virtual | ~RegExpNode () |
virtual void | Accept (NodeVisitor *visitor)=0 |
virtual void | Emit (RegExpCompiler *compiler, Trace *trace)=0 |
virtual intptr_t | EatsAtLeast (intptr_t still_to_find, intptr_t budget, bool not_at_start)=0 |
bool | EmitQuickCheck (RegExpCompiler *compiler, Trace *bounds_check_trace, Trace *trace, bool preload_has_checked_bounds, BlockLabel *on_possible_success, QuickCheckDetails *details_return, bool fall_through_on_failure) |
virtual void | GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, intptr_t characters_filled_in, bool not_at_start)=0 |
virtual intptr_t | GreedyLoopTextLength () |
virtual RegExpNode * | GetSuccessorOfOmnivorousTextNode (RegExpCompiler *compiler) |
virtual void | FillInBMInfo (intptr_t offset, intptr_t budget, BoyerMooreLookahead *bm, bool not_at_start) |
virtual RegExpNode * | FilterOneByte (intptr_t depth) |
RegExpNode * | replacement () |
RegExpNode * | set_replacement (RegExpNode *replacement) |
void | SaveBMInfo (BoyerMooreLookahead *bm, bool not_at_start, intptr_t offset) |
BlockLabel * | label () |
NodeInfo * | info () |
BoyerMooreLookahead * | bm_info (bool not_at_start) |
Zone * | zone () const |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Protected Member Functions | |
intptr_t | GreedyLoopTextLengthForAlternative (const GuardedAlternative *alternative) |
Protected Member Functions inherited from dart::RegExpNode | |
LimitResult | LimitVersions (RegExpCompiler *compiler, Trace *trace) |
void | set_bm_info (bool not_at_start, BoyerMooreLookahead *bm) |
Protected Attributes | |
ZoneGrowableArray< GuardedAlternative > * | alternatives_ |
Protected Attributes inherited from dart::RegExpNode | |
RegExpNode * | replacement_ |
Friends | |
class | Analysis |
Additional Inherited Members | |
Static Public Attributes inherited from dart::RegExpNode | |
static constexpr intptr_t | kNodeIsTooComplexForGreedyLoops = -1 |
static constexpr intptr_t | kRecursionBudget = 200 |
static constexpr intptr_t | kMaxCopiesCodeGenerated = 10 |
Protected Types inherited from dart::RegExpNode | |
enum | LimitResult { DONE , CONTINUE } |
|
inlineexplicit |
Definition at line 896 of file regexp.h.
|
virtual |
Implements dart::RegExpNode.
Reimplemented in dart::LoopChoiceNode.
|
inline |
Definition at line 903 of file regexp.h.
|
inline |
|
inline |
|
virtual |
Implements dart::RegExpNode.
Reimplemented in dart::NegativeLookaroundChoiceNode, and dart::LoopChoiceNode.
Definition at line 1582 of file regexp.cc.
intptr_t dart::ChoiceNode::EatsAtLeastHelper | ( | intptr_t | still_to_find, |
intptr_t | budget, | ||
RegExpNode * | ignore_this_node, | ||
bool | not_at_start | ||
) |
Definition at line 1557 of file regexp.cc.
|
virtual |
Implements dart::RegExpNode.
Reimplemented in dart::LoopChoiceNode.
Definition at line 3127 of file regexp.cc.
|
virtual |
Reimplemented from dart::RegExpNode.
Reimplemented in dart::NegativeLookaroundChoiceNode, and dart::LoopChoiceNode.
Definition at line 5185 of file regexp.cc.
|
virtual |
Reimplemented from dart::RegExpNode.
Reimplemented in dart::NegativeLookaroundChoiceNode, and dart::LoopChoiceNode.
Definition at line 2049 of file regexp.cc.
|
virtual |
Implements dart::RegExpNode.
Reimplemented in dart::NegativeLookaroundChoiceNode, and dart::LoopChoiceNode.
Definition at line 2143 of file regexp.cc.
|
protected |
Definition at line 2632 of file regexp.cc.
|
inline |
|
inlinevirtual |
Reimplemented in dart::LoopChoiceNode.
Definition at line 932 of file regexp.h.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in dart::NegativeLookaroundChoiceNode.
Definition at line 928 of file regexp.h.
|
protected |