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

#include <api-inl.h>

Inheritance diagram for v8::InternalEscapableScope:
Collaboration diagram for v8::InternalEscapableScope:

Public Member Functions

 InternalEscapableScope (i::Isolate *isolate)
 
template<class T >
V8_INLINE Local< TEscape (Local< T > value)
 
template<class T >
V8_INLINE MaybeLocal< TEscapeMaybe (MaybeLocal< T > maybe_value)
 
- Public Member Functions inherited from v8::EscapableHandleScopeBase
 EscapableHandleScopeBase (Isolate *isolate)
 
V8_INLINE ~EscapableHandleScopeBase ()=default
 
 EscapableHandleScopeBase (const EscapableHandleScopeBase &)=delete
 
void operator= (const EscapableHandleScopeBase &)=delete
 
void * operator new (size_t size)=delete
 
void * operator new[] (size_t size)=delete
 
void operator delete (void *, size_t)=delete
 
void operator delete[] (void *, size_t)=delete
 
- Public Member Functions inherited from v8::HandleScope
 HandleScope (Isolate *isolate)
 
 ~HandleScope ()
 
V8_INLINE IsolateGetIsolate () const
 
 HandleScope (const HandleScope &)=delete
 
void operator= (const HandleScope &)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::HandleScope
static int NumberOfHandles (Isolate *isolate)
 
static internal::AddressCreateHandleForCurrentIsolate (internal::Address value)
 
- Protected Member Functions inherited from v8::EscapableHandleScopeBase
internal::AddressEscapeSlot (internal::Address *escape_value)
 
- Protected Member Functions inherited from v8::HandleScope
V8_INLINE HandleScope ()=default
 
void Initialize (Isolate *isolate)
 
- Static Protected Member Functions inherited from v8::HandleScope
static internal::AddressCreateHandle (internal::Isolate *i_isolate, internal::Address value)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ InternalEscapableScope()

v8::InternalEscapableScope::InternalEscapableScope ( i::Isolate * isolate)
inlineexplicit

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

Member Function Documentation

◆ Escape()

template<class T >
V8_INLINE Local< T > v8::InternalEscapableScope::Escape ( Local< T > value)
inline

Pushes the value into the previous scope and returns a handle to it. Cannot be called twice.

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

Here is the caller graph for this function:

◆ EscapeMaybe()

template<class T >
V8_INLINE MaybeLocal< T > v8::InternalEscapableScope::EscapeMaybe ( MaybeLocal< T > maybe_value)
inline

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

Here is the call graph for this function:

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