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

#include <regexp-nodes.h>

Inheritance diagram for v8::internal::SeqRegExpNode:
Collaboration diagram for v8::internal::SeqRegExpNode:

Public Member Functions

 SeqRegExpNode (RegExpNode *on_success)
 
RegExpNodeon_success ()
 
void set_on_success (RegExpNode *node)
 
RegExpNodeFilterOneByte (int depth, RegExpCompiler *compiler) override
 
void FillInBMInfo (Isolate *isolate, int offset, int budget, BoyerMooreLookahead *bm, bool not_at_start) override
 
SeqRegExpNodeAsSeqRegExpNode () override
 
- Public Member Functions inherited from v8::internal::RegExpNode
 RegExpNode (Zone *zone)
 
virtual ~RegExpNode ()
 
virtual void Accept (NodeVisitor *visitor)=0
 
virtual void Emit (RegExpCompiler *compiler, Trace *trace)=0
 
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 GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, int characters_filled_in, bool not_at_start)=0
 
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)
 
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
 

Protected Member Functions

RegExpNodeFilterSuccessor (int depth, RegExpCompiler *compiler)
 
- Protected Member Functions inherited from v8::internal::RegExpNode
LimitResult LimitVersions (RegExpCompiler *compiler, Trace *trace)
 
void set_bm_info (bool not_at_start, BoyerMooreLookahead *bm)
 

Private Attributes

RegExpNodeon_success_
 

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 Attributes inherited from v8::internal::RegExpNode
RegExpNodereplacement_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SeqRegExpNode()

v8::internal::SeqRegExpNode::SeqRegExpNode ( RegExpNode * on_success)
inlineexplicit

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

Member Function Documentation

◆ AsSeqRegExpNode()

SeqRegExpNode * v8::internal::SeqRegExpNode::AsSeqRegExpNode ( )
inlineoverridevirtual

Reimplemented from v8::internal::RegExpNode.

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

◆ FillInBMInfo()

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

Reimplemented from v8::internal::RegExpNode.

Reimplemented in v8::internal::TextNode.

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

Here is the call graph for this function:

◆ FilterOneByte()

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

Reimplemented from v8::internal::RegExpNode.

Reimplemented in v8::internal::TextNode.

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

◆ FilterSuccessor()

RegExpNode * v8::internal::SeqRegExpNode::FilterSuccessor ( int depth,
RegExpCompiler * compiler )
protected

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

Here is the call graph for this function:

◆ on_success()

RegExpNode * v8::internal::SeqRegExpNode::on_success ( )
inline

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

Here is the caller graph for this function:

◆ set_on_success()

void v8::internal::SeqRegExpNode::set_on_success ( RegExpNode * node)
inline

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

Member Data Documentation

◆ on_success_

RegExpNode* v8::internal::SeqRegExpNode::on_success_
private

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


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