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

#include <v8-regex.h>

Collaboration diagram for v8_inspector::V8Regex:

Public Member Functions

 V8Regex (V8InspectorImpl *, const String16 &, bool caseSensitive, bool multiline=false)
 
 V8Regex (const V8Regex &)=delete
 
V8Regexoperator= (const V8Regex &)=delete
 
int match (const String16 &, int startFrom=0, int *matchLength=nullptr) const
 
bool isValid () const
 
const String16errorMessage () const
 

Private Attributes

V8InspectorImplm_inspector
 
v8::Global< v8::RegExpm_regex
 
String16 m_errorMessage
 

Detailed Description

Definition at line 22 of file v8-regex.h.

Constructor & Destructor Documentation

◆ V8Regex() [1/2]

v8_inspector::V8Regex::V8Regex ( V8InspectorImpl * inspector,
const String16 & pattern,
bool caseSensitive,
bool multiline = false )

Definition at line 20 of file v8-regex.cc.

Here is the call graph for this function:

◆ V8Regex() [2/2]

v8_inspector::V8Regex::V8Regex ( const V8Regex & )
delete

Member Function Documentation

◆ errorMessage()

const String16 & v8_inspector::V8Regex::errorMessage ( ) const
inline

Definition at line 31 of file v8-regex.h.

◆ isValid()

bool v8_inspector::V8Regex::isValid ( ) const
inline

Definition at line 30 of file v8-regex.h.

Here is the call graph for this function:

◆ match()

int v8_inspector::V8Regex::match ( const String16 & string,
int startFrom = 0,
int * matchLength = nullptr ) const

Definition at line 51 of file v8-regex.cc.

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

◆ operator=()

V8Regex & v8_inspector::V8Regex::operator= ( const V8Regex & )
delete

Member Data Documentation

◆ m_errorMessage

String16 v8_inspector::V8Regex::m_errorMessage
private

Definition at line 36 of file v8-regex.h.

◆ m_inspector

V8InspectorImpl* v8_inspector::V8Regex::m_inspector
private

Definition at line 34 of file v8-regex.h.

◆ m_regex

v8::Global<v8::RegExp> v8_inspector::V8Regex::m_regex
private

Definition at line 35 of file v8-regex.h.


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