V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::EscapableHandleScope Class Reference

#include <v8.h>

Inheritance diagram for v8::EscapableHandleScope:
v8::HandleScope

Public Member Functions

 EscapableHandleScope (Isolate *isolate)
 
template<class T >
V8_INLINE Local< TEscape (Local< T > value)
 
template<class T >
V8_INLINE MaybeLocal< TEscapeMaybe (MaybeLocal< T > value)
 
 EscapableHandleScope (const EscapableHandleScope &)=delete
 
void operator= (const EscapableHandleScope &)=delete
 
- Public Member Functions inherited from v8::HandleScope
 HandleScope (Isolate *isolate)
 
V8_INLINE Isolate * GetIsolate () 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)
 
- Protected Member Functions inherited from v8::HandleScope
void Initialize (Isolate *isolate)
 
- Static Protected Member Functions inherited from v8::HandleScope
static internal::AddressCreateHandle (internal::Isolate *isolate, internal::Address value)
 

Detailed Description

A HandleScope which first allocates a handle in the current scope which will be later filled with the escape value.

Definition at line 894 of file v8.h.

Member Function Documentation

◆ Escape()

template<class T >
V8_INLINE Local<T> v8::EscapableHandleScope::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 904 of file v8.h.


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