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

#include <regexp-ast.h>

Collaboration diagram for v8::internal::TextElement:

Public Types

enum  TextType { ATOM , CLASS_RANGES }
 

Public Member Functions

int cp_offset () const
 
void set_cp_offset (int cp_offset)
 
int length () const
 
TextType text_type () const
 
RegExpTreetree () const
 
RegExpAtomatom () const
 
RegExpClassRangesclass_ranges () const
 

Static Public Member Functions

static TextElement Atom (RegExpAtom *atom)
 
static TextElement ClassRanges (RegExpClassRanges *class_ranges)
 

Private Member Functions

 TextElement (TextType text_type, RegExpTree *tree)
 

Private Attributes

int cp_offset_
 
TextType text_type_
 
RegExpTreetree_
 

Detailed Description

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

Member Enumeration Documentation

◆ TextType

Enumerator
ATOM 
CLASS_RANGES 

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

Constructor & Destructor Documentation

◆ TextElement()

v8::internal::TextElement::TextElement ( TextType text_type,
RegExpTree * tree )
inlineprivate

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

Here is the caller graph for this function:

Member Function Documentation

◆ Atom()

TextElement v8::internal::TextElement::Atom ( RegExpAtom * atom)
static

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

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

◆ atom()

RegExpAtom * v8::internal::TextElement::atom ( ) const
inline

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

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

◆ class_ranges()

RegExpClassRanges * v8::internal::TextElement::class_ranges ( ) const
inline

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

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

◆ ClassRanges()

TextElement v8::internal::TextElement::ClassRanges ( RegExpClassRanges * class_ranges)
static

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

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

◆ cp_offset()

int v8::internal::TextElement::cp_offset ( ) const
inline

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

Here is the caller graph for this function:

◆ length()

int v8::internal::TextElement::length ( ) const

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

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

◆ set_cp_offset()

void v8::internal::TextElement::set_cp_offset ( int cp_offset)
inline

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

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

◆ text_type()

TextType v8::internal::TextElement::text_type ( ) const
inline

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

Here is the caller graph for this function:

◆ tree()

RegExpTree * v8::internal::TextElement::tree ( ) const
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ cp_offset_

int v8::internal::TextElement::cp_offset_
private

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

◆ text_type_

TextType v8::internal::TextElement::text_type_
private

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

◆ tree_

RegExpTree* v8::internal::TextElement::tree_
private

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


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