v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::NegativeLookaroundChoiceNode Class Reference

#include <regexp-nodes.h>

Inheritance diagram for v8::internal::NegativeLookaroundChoiceNode:
Collaboration diagram for v8::internal::NegativeLookaroundChoiceNode:

Public Member Functions

 NegativeLookaroundChoiceNode (GuardedAlternative this_must_fail, GuardedAlternative then_do_this, Zone *zone)
 
void GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, int characters_filled_in, bool not_at_start) override
 
void FillInBMInfo (Isolate *isolate, int offset, int budget, BoyerMooreLookahead *bm, bool not_at_start) override
 
RegExpNodelookaround_node ()
 
RegExpNodecontinue_node ()
 
bool try_to_emit_quick_check_for_alternative (bool is_first) override
 
NegativeLookaroundChoiceNodeAsNegativeLookaroundChoiceNode () override
 
void Accept (NodeVisitor *visitor) override
 
RegExpNodeFilterOneByte (int depth, RegExpCompiler *compiler) override
 
- Public Member Functions inherited from v8::internal::ChoiceNode
 ChoiceNode (int expected_size, Zone *zone)
 
ChoiceNodeAsChoiceNode () override
 
void AddAlternative (GuardedAlternative node)
 
ZoneList< GuardedAlternative > * alternatives ()
 
void Emit (RegExpCompiler *compiler, Trace *trace) override
 
bool being_calculated ()
 
bool not_at_start ()
 
void set_not_at_start ()
 
void set_being_calculated (bool b)
 
virtual bool read_backward ()
 
- Public Member Functions inherited from v8::internal::RegExpNode
 RegExpNode (Zone *zone)
 
virtual ~RegExpNode ()
 
uint32_t EatsAtLeast (bool not_at_start)
 
virtual EatsAtLeastInfo EatsAtLeastFromLoopEntry ()
 
bool EmitQuickCheck (RegExpCompiler *compiler, Trace *bounds_check_trace, Trace *trace, bool preload_has_checked_bounds, Label *on_possible_success, QuickCheckDetails *details_return, bool fall_through_on_failure, ChoiceNode *predecessor)
 
virtual void GetQuickCheckDetailsFromLoopEntry (QuickCheckDetails *details, RegExpCompiler *compiler, int characters_filled_in, bool not_at_start)
 
virtual int GreedyLoopTextLength ()
 
virtual RegExpNodeGetSuccessorOfOmnivorousTextNode (RegExpCompiler *compiler)
 
bool KeepRecursing (RegExpCompiler *compiler)
 
RegExpNodereplacement ()
 
RegExpNodeset_replacement (RegExpNode *replacement)
 
void SaveBMInfo (BoyerMooreLookahead *bm, bool not_at_start, int offset)
 
Labellabel ()
 
bool on_work_list ()
 
void set_on_work_list (bool value)
 
NodeInfoinfo ()
 
const EatsAtLeastInfoeats_at_least_info () const
 
void set_eats_at_least_info (const EatsAtLeastInfo &eats_at_least)
 
void SetDoNotInline ()
 
BoyerMooreLookaheadbm_info (bool not_at_start)
 
virtual SeqRegExpNodeAsSeqRegExpNode ()
 
Zonezone () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Static Public Attributes

static constexpr int kLookaroundIndex = 0
 
static constexpr int kContinueIndex = 1
 
- Static Public Attributes inherited from v8::internal::RegExpNode
static const int kNodeIsTooComplexForGreedyLoops = kMinInt
 
static const int kRecursionBudget = 200
 
static const int kMaxCopiesCodeGenerated = 10
 

Additional Inherited Members

- Protected Types inherited from v8::internal::RegExpNode
enum  LimitResult { DONE , CONTINUE }
 
- Protected Member Functions inherited from v8::internal::ChoiceNode
int GreedyLoopTextLengthForAlternative (GuardedAlternative *alternative)
 
- Protected Member Functions inherited from v8::internal::RegExpNode
LimitResult LimitVersions (RegExpCompiler *compiler, Trace *trace)
 
void set_bm_info (bool not_at_start, BoyerMooreLookahead *bm)
 
- Protected Attributes inherited from v8::internal::ChoiceNode
ZoneList< GuardedAlternative > * alternatives_
 
- Protected Attributes inherited from v8::internal::RegExpNode
RegExpNodereplacement_
 

Detailed Description

Definition at line 696 of file regexp-nodes.h.

Constructor & Destructor Documentation

◆ NegativeLookaroundChoiceNode()

v8::internal::NegativeLookaroundChoiceNode::NegativeLookaroundChoiceNode ( GuardedAlternative this_must_fail,
GuardedAlternative then_do_this,
Zone * zone )
inlineexplicit

Definition at line 698 of file regexp-nodes.h.

Member Function Documentation

◆ Accept()

void v8::internal::NegativeLookaroundChoiceNode::Accept ( NodeVisitor * visitor)
overridevirtual

Reimplemented from v8::internal::ChoiceNode.

◆ AsNegativeLookaroundChoiceNode()

NegativeLookaroundChoiceNode * v8::internal::NegativeLookaroundChoiceNode::AsNegativeLookaroundChoiceNode ( )
inlineoverride

Definition at line 730 of file regexp-nodes.h.

◆ continue_node()

RegExpNode * v8::internal::NegativeLookaroundChoiceNode::continue_node ( )
inline

Definition at line 719 of file regexp-nodes.h.

◆ FillInBMInfo()

void v8::internal::NegativeLookaroundChoiceNode::FillInBMInfo ( Isolate * isolate,
int offset,
int budget,
BoyerMooreLookahead * bm,
bool not_at_start )
inlineoverridevirtual

Reimplemented from v8::internal::ChoiceNode.

Definition at line 708 of file regexp-nodes.h.

◆ FilterOneByte()

RegExpNode * v8::internal::NegativeLookaroundChoiceNode::FilterOneByte ( int depth,
RegExpCompiler * compiler )
overridevirtual

Reimplemented from v8::internal::ChoiceNode.

Definition at line 2072 of file regexp-compiler.cc.

Here is the call graph for this function:

◆ GetQuickCheckDetails()

void v8::internal::NegativeLookaroundChoiceNode::GetQuickCheckDetails ( QuickCheckDetails * details,
RegExpCompiler * compiler,
int characters_filled_in,
bool not_at_start )
overridevirtual

Reimplemented from v8::internal::ChoiceNode.

Definition at line 1467 of file regexp-compiler.cc.

◆ lookaround_node()

RegExpNode * v8::internal::NegativeLookaroundChoiceNode::lookaround_node ( )
inline

Definition at line 716 of file regexp-nodes.h.

◆ try_to_emit_quick_check_for_alternative()

bool v8::internal::NegativeLookaroundChoiceNode::try_to_emit_quick_check_for_alternative ( bool is_first)
inlineoverridevirtual

Reimplemented from v8::internal::ChoiceNode.

Definition at line 727 of file regexp-nodes.h.

Member Data Documentation

◆ kContinueIndex

int v8::internal::NegativeLookaroundChoiceNode::kContinueIndex = 1
staticconstexpr

Definition at line 715 of file regexp-nodes.h.

◆ kLookaroundIndex

int v8::internal::NegativeLookaroundChoiceNode::kLookaroundIndex = 0
staticconstexpr

Definition at line 714 of file regexp-nodes.h.


The documentation for this class was generated from the following files: