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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpGroup:
Collaboration diagram for v8::internal::RegExpGroup:

Public Member Functions

 RegExpGroup (RegExpTree *body, RegExpFlags flags)
 
 DECL_BOILERPLATE (Group)
 
bool IsAnchoredAtStart () override
 
bool IsAnchoredAtEnd () override
 
int min_match () override
 
int max_match () override
 
Interval CaptureRegisters () override
 
RegExpTreebody () const
 
RegExpFlags flags () const
 
- Public Member Functions inherited from v8::internal::RegExpTree
virtual ~RegExpTree ()=default
 
virtual void * Accept (RegExpVisitor *visitor, void *data)=0
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)=0
 
virtual bool IsTextElement ()
 
virtual void AppendToText (RegExpText *text, Zone *zone)
 
V8_EXPORT_PRIVATE std::ostream & Print (std::ostream &os, Zone *zone)
 
- 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

RegExpTreebody_
 
const RegExpFlags flags_
 
int min_match_
 
int max_match_
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::RegExpTree
static const int kInfinity = kMaxInt
 

Detailed Description

Definition at line 632 of file regexp-ast.h.

Constructor & Destructor Documentation

◆ RegExpGroup()

v8::internal::RegExpGroup::RegExpGroup ( RegExpTree * body,
RegExpFlags flags )
inlineexplicit

Definition at line 634 of file regexp-ast.h.

Member Function Documentation

◆ body()

RegExpTree * v8::internal::RegExpGroup::body ( ) const
inline

Definition at line 647 of file regexp-ast.h.

◆ CaptureRegisters()

Interval v8::internal::RegExpGroup::CaptureRegisters ( )
inlineoverridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 646 of file regexp-ast.h.

Here is the call graph for this function:

◆ DECL_BOILERPLATE()

v8::internal::RegExpGroup::DECL_BOILERPLATE ( Group )

◆ flags()

RegExpFlags v8::internal::RegExpGroup::flags ( ) const
inline

Definition at line 648 of file regexp-ast.h.

◆ IsAnchoredAtEnd()

bool v8::internal::RegExpGroup::IsAnchoredAtEnd ( )
inlineoverridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 643 of file regexp-ast.h.

Here is the call graph for this function:

◆ IsAnchoredAtStart()

bool v8::internal::RegExpGroup::IsAnchoredAtStart ( )
inlineoverridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 642 of file regexp-ast.h.

Here is the call graph for this function:

◆ max_match()

int v8::internal::RegExpGroup::max_match ( )
inlineoverridevirtual

Implements v8::internal::RegExpTree.

Definition at line 645 of file regexp-ast.h.

◆ min_match()

int v8::internal::RegExpGroup::min_match ( )
inlineoverridevirtual

Implements v8::internal::RegExpTree.

Definition at line 644 of file regexp-ast.h.

Member Data Documentation

◆ body_

RegExpTree* v8::internal::RegExpGroup::body_
private

Definition at line 651 of file regexp-ast.h.

◆ flags_

const RegExpFlags v8::internal::RegExpGroup::flags_
private

Definition at line 652 of file regexp-ast.h.

◆ max_match_

int v8::internal::RegExpGroup::max_match_
private

Definition at line 654 of file regexp-ast.h.

◆ min_match_

int v8::internal::RegExpGroup::min_match_
private

Definition at line 653 of file regexp-ast.h.


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