v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
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 738 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ EscapableHandleScope()

EscapableHandleScope ( Isolate * isolate)
inlineexplicit

◆ ~EscapableHandleScope()

References V8_INLINE.

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 755 of file v8-local-handle.h.

References Escape(), MaybeLocal< T >::FromMaybe(), and V8_INLINE.


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