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

#include <regexp-ast.h>

Collaboration diagram for v8::internal::Interval:

Public Member Functions

 Interval ()
 
 Interval (int from, int to)
 
Interval Union (Interval that)
 
bool Contains (int value) const
 
bool is_empty () const
 
int from () const
 
int to () const
 
int size () const
 

Static Public Member Functions

static Interval Empty ()
 

Static Public Attributes

static constexpr int kNone = -1
 

Private Attributes

int from_
 
int to_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Interval() [1/2]

v8::internal::Interval::Interval ( )
inline

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

Here is the caller graph for this function:

◆ Interval() [2/2]

v8::internal::Interval::Interval ( int from,
int to )
inline

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

Member Function Documentation

◆ Contains()

bool v8::internal::Interval::Contains ( int value) const
inline

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

◆ Empty()

static Interval v8::internal::Interval::Empty ( )
inlinestatic

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

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

◆ from()

int v8::internal::Interval::from ( ) const
inline

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

◆ is_empty()

bool v8::internal::Interval::is_empty ( ) const
inline

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

◆ size()

int v8::internal::Interval::size ( ) const
inline

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

◆ to()

int v8::internal::Interval::to ( ) const
inline

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

◆ Union()

Interval v8::internal::Interval::Union ( Interval that)
inline

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

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

Member Data Documentation

◆ from_

int v8::internal::Interval::from_
private

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

◆ kNone

int v8::internal::Interval::kNone = -1
staticconstexpr

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

◆ to_

int v8::internal::Interval::to_
private

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


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