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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpCapture:
Collaboration diagram for v8::internal::RegExpCapture:

Public Member Functions

 RegExpCapture (int index)
 
 DECL_BOILERPLATE (Capture)
 
bool IsAnchoredAtStart () override
 
bool IsAnchoredAtEnd () override
 
Interval CaptureRegisters () override
 
int min_match () override
 
int max_match () override
 
RegExpTreebody ()
 
void set_body (RegExpTree *body)
 
int index () const
 
const ZoneVector< base::uc16 > * name () const
 
void set_name (const ZoneVector< base::uc16 > *name)
 
- 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
 

Static Public Member Functions

static RegExpNodeToNode (RegExpTree *body, int index, RegExpCompiler *compiler, RegExpNode *on_success)
 
static int StartRegister (int index)
 
static int EndRegister (int index)
 

Private Attributes

RegExpTreebody_ = nullptr
 
int index_
 
int min_match_ = 0
 
int max_match_ = 0
 
const ZoneVector< base::uc16 > * name_ = nullptr
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ RegExpCapture()

v8::internal::RegExpCapture::RegExpCapture ( int index)
inlineexplicit

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

Member Function Documentation

◆ body()

RegExpTree * v8::internal::RegExpCapture::body ( )
inline

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

Here is the caller graph for this function:

◆ CaptureRegisters()

Interval v8::internal::RegExpCapture::CaptureRegisters ( )
overridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 58 of file regexp-ast.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DECL_BOILERPLATE()

v8::internal::RegExpCapture::DECL_BOILERPLATE ( Capture )

◆ EndRegister()

static int v8::internal::RegExpCapture::EndRegister ( int index)
inlinestatic

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

Here is the caller graph for this function:

◆ index()

int v8::internal::RegExpCapture::index ( ) const
inline

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

Here is the caller graph for this function:

◆ IsAnchoredAtEnd()

bool v8::internal::RegExpCapture::IsAnchoredAtEnd ( )
overridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 135 of file regexp-ast.cc.

Here is the call graph for this function:

◆ IsAnchoredAtStart()

bool v8::internal::RegExpCapture::IsAnchoredAtStart ( )
overridevirtual

Reimplemented from v8::internal::RegExpTree.

Definition at line 132 of file regexp-ast.cc.

Here is the call graph for this function:

◆ max_match()

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

Implements v8::internal::RegExpTree.

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

◆ min_match()

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

Implements v8::internal::RegExpTree.

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

◆ name()

const ZoneVector< base::uc16 > * v8::internal::RegExpCapture::name ( ) const
inline

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

Here is the caller graph for this function:

◆ set_body()

void v8::internal::RegExpCapture::set_body ( RegExpTree * body)
inline

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

Here is the call graph for this function:

◆ set_name()

void v8::internal::RegExpCapture::set_name ( const ZoneVector< base::uc16 > * name)
inline

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

Here is the call graph for this function:

◆ StartRegister()

static int v8::internal::RegExpCapture::StartRegister ( int index)
inlinestatic

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

Here is the caller graph for this function:

◆ ToNode()

RegExpNode * v8::internal::RegExpCapture::ToNode ( RegExpTree * body,
int index,
RegExpCompiler * compiler,
RegExpNode * on_success )
static

Definition at line 1301 of file regexp-compiler-tonode.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ body_

RegExpTree* v8::internal::RegExpCapture::body_ = nullptr
private

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

◆ index_

int v8::internal::RegExpCapture::index_
private

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

◆ max_match_

int v8::internal::RegExpCapture::max_match_ = 0
private

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

◆ min_match_

int v8::internal::RegExpCapture::min_match_ = 0
private

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

◆ name_

const ZoneVector<base::uc16>* v8::internal::RegExpCapture::name_ = nullptr
private

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


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