v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
EscapableHandleScope Class Reference

#include <v8-local-handle.h>

Inheritance diagram for EscapableHandleScope:
Collaboration diagram for EscapableHandleScope:

Public Member Functions

 EscapableHandleScope (Isolate *isolate)
 
V8_INLINE ~EscapableHandleScope ()=default
 
template<class T >
V8_INLINE Local< T > Escape (Local< T > value)
 
template<class T >
V8_INLINE MaybeLocal< T > EscapeMaybe (MaybeLocal< T > value)
 
- Public Member Functions inherited from 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 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 HandleScope
static int NumberOfHandles (Isolate *isolate)
 
static internal::AddressCreateHandleForCurrentIsolate (internal::Address value)
 
- Protected Member Functions inherited from EscapableHandleScopeBase
internal::AddressEscapeSlot (internal::Address *escape_value)
 
- Protected Member Functions inherited from HandleScope
V8_INLINE HandleScope ()=default
 
void Initialize (Isolate *isolate)
 
- Static Protected Member Functions inherited from HandleScope
static internal::AddressCreateHandle (internal::Isolate *i_isolate, internal::Address value)
 

Detailed Description

Definition at line 712 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ EscapableHandleScope()

EscapableHandleScope ( Isolate isolate)
inlineexplicit

Definition at line 715 of file v8-local-handle.h.

◆ ~EscapableHandleScope()

Member Function Documentation

◆ Escape()

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

Definition at line 719 of file v8-local-handle.h.

References IndirectHandleBase::IsEmpty(), and IndirectHandleBase::slot().

◆ EscapeMaybe()

template<class T >
V8_INLINE MaybeLocal< T > EscapeMaybe ( MaybeLocal< T >  value)
inline

Definition at line 729 of file v8-local-handle.h.

References MaybeLocal< T >::FromMaybe().


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