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

#include <regexp-nodes.h>

Inheritance diagram for v8::internal::EndNode:
Collaboration diagram for v8::internal::EndNode:

Public Types

enum  Action { ACCEPT , BACKTRACK , NEGATIVE_SUBMATCH_SUCCESS }
 

Public Member Functions

 EndNode (Action action, Zone *zone)
 
EndNodeAsEndNode () override
 
void Accept (NodeVisitor *visitor) override
 
void Emit (RegExpCompiler *compiler, Trace *trace) override
 
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
 
- 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)
 
virtual RegExpNodeFilterOneByte (int depth, 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
 

Private Attributes

Action action_
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::RegExpNode
static const int kNodeIsTooComplexForGreedyLoops = kMinInt
 
static const int kRecursionBudget = 200
 
static const int kMaxCopiesCodeGenerated = 10
 
- Protected Types inherited from v8::internal::RegExpNode
enum  LimitResult { DONE , CONTINUE }
 
- 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::RegExpNode
RegExpNodereplacement_
 

Detailed Description

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

Member Enumeration Documentation

◆ Action

Enumerator
ACCEPT 
BACKTRACK 
NEGATIVE_SUBMATCH_SUCCESS 

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

Constructor & Destructor Documentation

◆ EndNode()

v8::internal::EndNode::EndNode ( Action action,
Zone * zone )
inline

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

Member Function Documentation

◆ Accept()

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

◆ AsEndNode()

EndNode * v8::internal::EndNode::AsEndNode ( )
inlineoverride

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

◆ Emit()

void v8::internal::EndNode::Emit ( RegExpCompiler * compiler,
Trace * trace )
overridevirtual

Implements v8::internal::RegExpNode.

Reimplemented in v8::internal::NegativeSubmatchSuccess.

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

Here is the call graph for this function:

◆ FillInBMInfo()

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

Reimplemented from v8::internal::RegExpNode.

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

Here is the call graph for this function:

◆ GetQuickCheckDetails()

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

Implements v8::internal::RegExpNode.

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

Here is the call graph for this function:

Member Data Documentation

◆ action_

Action v8::internal::EndNode::action_
private

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


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