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

#include <api.h>

Collaboration diagram for v8::Utils:

Static Public Member Functions

static V8_INLINE bool ApiCheck (bool condition, const char *location, const char *message)
 
static void ReportOOMFailure (v8::internal::Isolate *isolate, const char *location, const OOMDetails &details)
 
template<class From , class To >
static Local< To > Convert (v8::internal::DirectHandle< From > obj)
 
template<class T >
static v8::internal::Handle< v8::internal::ObjectOpenPersistent (const v8::PersistentBase< T > &persistent)
 
template<class T >
static v8::internal::DirectHandle< v8::internal::ObjectOpenPersistent (v8::Persistent< T > *persistent)
 
template<class From , class To >
static v8::internal::Handle< To > OpenHandle (v8::Local< From > handle)
 
template<class From , class To >
static v8::internal::DirectHandle< To > OpenDirectHandle (v8::Local< From > handle)
 

Static Private Member Functions

V8_NOINLINE static V8_PRESERVE_MOST void ReportApiFailure (const char *location, const char *message)
 

Detailed Description

Definition at line 212 of file api.h.

Member Function Documentation

◆ ApiCheck()

static V8_INLINE bool v8::Utils::ApiCheck ( bool condition,
const char * location,
const char * message )
inlinestatic

Definition at line 214 of file api.h.

Here is the call graph for this function:

◆ Convert()

template<class From , class To >
Local< To > v8::Utils::Convert ( v8::internal::DirectHandle< From > obj)
inlinestatic

Definition at line 59 of file api-inl.h.

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

◆ OpenDirectHandle()

template<class From , class To >
static v8::internal::DirectHandle< To > v8::Utils::OpenDirectHandle ( v8::Local< From > handle)
inlinestatic

Definition at line 279 of file api.h.

Here is the call graph for this function:

◆ OpenHandle()

template<class From , class To >
static v8::internal::Handle< To > v8::Utils::OpenHandle ( v8::Local< From > handle)
inlinestatic

Definition at line 274 of file api.h.

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

◆ OpenPersistent() [1/2]

template<class T >
static v8::internal::Handle< v8::internal::Object > v8::Utils::OpenPersistent ( const v8::PersistentBase< T > & persistent)
inlinestatic

Definition at line 262 of file api.h.

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

◆ OpenPersistent() [2/2]

template<class T >
static v8::internal::DirectHandle< v8::internal::Object > v8::Utils::OpenPersistent ( v8::Persistent< T > * persistent)
inlinestatic

Definition at line 268 of file api.h.

Here is the call graph for this function:

◆ ReportApiFailure()

void v8::Utils::ReportApiFailure ( const char * location,
const char * message )
staticprivate

Definition at line 256 of file api.cc.

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

◆ ReportOOMFailure()

void v8::Utils::ReportOOMFailure ( v8::internal::Isolate * isolate,
const char * location,
const OOMDetails & details )
static

Definition at line 272 of file api.cc.

Here is the call graph for this function:

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