v8 14.1.146 (node 25.0.0)
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
V8_INLINE HandleScope (Isolate *isolate)
 
V8_INLINE ~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
 
V8_INLINE void Initialize (Isolate *isolate)
 
- Static Protected Member Functions inherited from HandleScope
static V8_INLINE internal::AddressCreateHandle (Isolate *i_isolate, internal::Address value)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ EscapableHandleScope()

EscapableHandleScope ( Isolate isolate)
inlineexplicit

◆ ~EscapableHandleScope()

Member Function Documentation

◆ Escape()

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

◆ EscapeMaybe()

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

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

References LocalBase< T >::Local.


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