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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpBackReference:
Collaboration diagram for v8::internal::RegExpBackReference:

Public Member Functions

 RegExpBackReference (Zone *zone)
 
 RegExpBackReference (RegExpCapture *capture, Zone *zone)
 
 DECL_BOILERPLATE (BackReference)
 
int min_match () override
 
int max_match () override
 
const ZoneList< RegExpCapture * > * captures () const
 
void add_capture (RegExpCapture *capture, Zone *zone)
 
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 bool IsAnchoredAtStart ()
 
virtual bool IsAnchoredAtEnd ()
 
virtual Interval CaptureRegisters ()
 
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

ZoneList< RegExpCapture * > captures_
 
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 708 of file regexp-ast.h.

Constructor & Destructor Documentation

◆ RegExpBackReference() [1/2]

v8::internal::RegExpBackReference::RegExpBackReference ( Zone * zone)
inlineexplicit

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

◆ RegExpBackReference() [2/2]

v8::internal::RegExpBackReference::RegExpBackReference ( RegExpCapture * capture,
Zone * zone )
inlineexplicit

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

Member Function Documentation

◆ add_capture()

void v8::internal::RegExpBackReference::add_capture ( RegExpCapture * capture,
Zone * zone )
inline

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

◆ captures()

const ZoneList< RegExpCapture * > * v8::internal::RegExpBackReference::captures ( ) const
inline

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

◆ DECL_BOILERPLATE()

v8::internal::RegExpBackReference::DECL_BOILERPLATE ( BackReference )

◆ max_match()

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

Implements v8::internal::RegExpTree.

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

◆ min_match()

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

Implements v8::internal::RegExpTree.

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

◆ name()

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

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

Here is the caller graph for this function:

◆ set_name()

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

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

Here is the call graph for this function:

Member Data Documentation

◆ captures_

ZoneList<RegExpCapture*> v8::internal::RegExpBackReference::captures_
private

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

◆ name_

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

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


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