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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpTree:
Collaboration diagram for v8::internal::RegExpTree:

Public Member Functions

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 int min_match ()=0
 
virtual int max_match ()=0
 
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
 

Static Public Attributes

static const int kInfinity = kMaxInt
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~RegExpTree()

virtual v8::internal::RegExpTree::~RegExpTree ( )
virtualdefault

Member Function Documentation

◆ Accept()

virtual void * v8::internal::RegExpTree::Accept ( RegExpVisitor * visitor,
void * data )
pure virtual

◆ AppendToText()

void v8::internal::RegExpTree::AppendToText ( RegExpText * text,
Zone * zone )
virtual

Reimplemented in v8::internal::RegExpAtom, v8::internal::RegExpClassRanges, and v8::internal::RegExpText.

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

Here is the call graph for this function:

◆ CaptureRegisters()

virtual Interval v8::internal::RegExpTree::CaptureRegisters ( )
inlinevirtual

Reimplemented in v8::internal::RegExpAlternative, v8::internal::RegExpCapture, v8::internal::RegExpDisjunction, v8::internal::RegExpGroup, v8::internal::RegExpLookaround, and v8::internal::RegExpQuantifier.

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

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

◆ IsAnchoredAtEnd()

virtual bool v8::internal::RegExpTree::IsAnchoredAtEnd ( )
inlinevirtual

Reimplemented in v8::internal::RegExpAlternative, v8::internal::RegExpAssertion, v8::internal::RegExpCapture, v8::internal::RegExpDisjunction, and v8::internal::RegExpGroup.

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

Here is the caller graph for this function:

◆ IsAnchoredAtStart()

virtual bool v8::internal::RegExpTree::IsAnchoredAtStart ( )
inlinevirtual

Reimplemented in v8::internal::RegExpAlternative, v8::internal::RegExpAssertion, v8::internal::RegExpCapture, v8::internal::RegExpDisjunction, v8::internal::RegExpGroup, and v8::internal::RegExpLookaround.

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

Here is the caller graph for this function:

◆ IsTextElement()

virtual bool v8::internal::RegExpTree::IsTextElement ( )
inlinevirtual

◆ max_match()

◆ min_match()

◆ Print()

std::ostream & v8::internal::RegExpTree::Print ( std::ostream & os,
Zone * zone )

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

◆ ToNode()

virtual RegExpNode * v8::internal::RegExpTree::ToNode ( RegExpCompiler * compiler,
RegExpNode * on_success )
pure virtual
Here is the caller graph for this function:

Member Data Documentation

◆ kInfinity

const int v8::internal::RegExpTree::kInfinity = kMaxInt
static

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


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