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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpAtom:
Collaboration diagram for v8::internal::RegExpAtom:

Public Member Functions

 RegExpAtom (base::Vector< const base::uc16 > data)
 
 DECL_BOILERPLATE (Atom)
 
bool IsTextElement () override
 
int min_match () override
 
int max_match () override
 
void AppendToText (RegExpText *text, Zone *zone) override
 
base::Vector< const base::uc16data () const
 
int length () 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 IsAnchoredAtStart ()
 
virtual bool IsAnchoredAtEnd ()
 
virtual Interval CaptureRegisters ()
 
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

base::Vector< const base::uc16data_
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ RegExpAtom()

v8::internal::RegExpAtom::RegExpAtom ( base::Vector< const base::uc16 > data)
inlineexplicit

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

Member Function Documentation

◆ AppendToText()

void v8::internal::RegExpAtom::AppendToText ( RegExpText * text,
Zone * zone )
overridevirtual

Reimplemented from v8::internal::RegExpTree.

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

Here is the call graph for this function:

◆ data()

base::Vector< const base::uc16 > v8::internal::RegExpAtom::data ( ) const
inline

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

Here is the caller graph for this function:

◆ DECL_BOILERPLATE()

v8::internal::RegExpAtom::DECL_BOILERPLATE ( Atom )

◆ IsTextElement()

bool v8::internal::RegExpAtom::IsTextElement ( )
inlineoverridevirtual

Reimplemented from v8::internal::RegExpTree.

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

◆ length()

int v8::internal::RegExpAtom::length ( ) const
inline

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

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

◆ max_match()

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

Implements v8::internal::RegExpTree.

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

Here is the call graph for this function:

◆ min_match()

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

Implements v8::internal::RegExpTree.

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

Here is the call graph for this function:

Member Data Documentation

◆ data_

base::Vector<const base::uc16> v8::internal::RegExpAtom::data_
private

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


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