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

#include <regexp-ast.h>

Inheritance diagram for v8::internal::RegExpClassSetOperand:
Collaboration diagram for v8::internal::RegExpClassSetOperand:

Public Member Functions

 RegExpClassSetOperand (ZoneList< CharacterRange > *ranges, CharacterClassStrings *strings)
 
 DECL_BOILERPLATE (ClassSetOperand)
 
bool IsTextElement () override
 
int min_match () override
 
int max_match () override
 
void Union (RegExpClassSetOperand *other, Zone *zone)
 
void Intersect (RegExpClassSetOperand *other, ZoneList< CharacterRange > *temp_ranges, Zone *zone)
 
void Subtract (RegExpClassSetOperand *other, ZoneList< CharacterRange > *temp_ranges, Zone *zone)
 
bool has_strings () const
 
ZoneList< CharacterRange > * ranges ()
 
CharacterClassStringsstrings ()
 
- 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 ()
 
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< CharacterRange > * ranges_
 
CharacterClassStringsstrings_
 
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 398 of file regexp-ast.h.

Constructor & Destructor Documentation

◆ RegExpClassSetOperand()

v8::internal::RegExpClassSetOperand::RegExpClassSetOperand ( ZoneList< CharacterRange > * ranges,
CharacterClassStrings * strings )

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

Here is the call graph for this function:

Member Function Documentation

◆ DECL_BOILERPLATE()

v8::internal::RegExpClassSetOperand::DECL_BOILERPLATE ( ClassSetOperand )

◆ has_strings()

bool v8::internal::RegExpClassSetOperand::has_strings ( ) const
inline

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

Here is the caller graph for this function:

◆ Intersect()

void v8::internal::RegExpClassSetOperand::Intersect ( RegExpClassSetOperand * other,
ZoneList< CharacterRange > * temp_ranges,
Zone * zone )

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

Here is the call graph for this function:

◆ IsTextElement()

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

Reimplemented from v8::internal::RegExpTree.

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

◆ max_match()

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

Implements v8::internal::RegExpTree.

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

◆ min_match()

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

Implements v8::internal::RegExpTree.

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

◆ ranges()

ZoneList< CharacterRange > * v8::internal::RegExpClassSetOperand::ranges ( )
inline

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

Here is the caller graph for this function:

◆ strings()

CharacterClassStrings * v8::internal::RegExpClassSetOperand::strings ( )
inline

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

Here is the caller graph for this function:

◆ Subtract()

void v8::internal::RegExpClassSetOperand::Subtract ( RegExpClassSetOperand * other,
ZoneList< CharacterRange > * temp_ranges,
Zone * zone )

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

Here is the call graph for this function:

◆ Union()

void v8::internal::RegExpClassSetOperand::Union ( RegExpClassSetOperand * other,
Zone * zone )

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

Here is the call graph for this function:

Member Data Documentation

◆ max_match_

int v8::internal::RegExpClassSetOperand::max_match_
private

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

◆ min_match_

int v8::internal::RegExpClassSetOperand::min_match_
private

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

◆ ranges_

ZoneList<CharacterRange>* v8::internal::RegExpClassSetOperand::ranges_
private

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

◆ strings_

CharacterClassStrings* v8::internal::RegExpClassSetOperand::strings_
private

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


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