Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::EscapableHandleScope Class Reference

#include <v8.h>

Inheritance diagram for v8::EscapableHandleScope:
[legend]
Collaboration diagram for v8::EscapableHandleScope:
[legend]

Public Member Functions

 EscapableHandleScope (Isolate *isolate)
 
 ~EscapableHandleScope ()
 
template<class T >
Local< T > Escape (Local< T > value)
 
 EscapableHandleScope (const EscapableHandleScope &)=delete
 
void operator= (const EscapableHandleScope &)=delete
 
- Public Member Functions inherited from v8::HandleScope
 HandleScope (Isolate *isolate)
 
 ~HandleScope ()
 
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)
 
- Protected Member Functions inherited from v8::HandleScope
 HandleScope ()
 
void Initialize (Isolate *isolate)
 
- Static Protected Member Functions inherited from v8::HandleScope
static internal::Object ** CreateHandle (internal::Isolate *isolate, internal::Object *value)
 

Detailed Description

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

Examples
process.cc.

Constructor & Destructor Documentation

◆ EscapableHandleScope() [1/2]

v8::EscapableHandleScope::EscapableHandleScope ( Isolate isolate)
explicit

◆ ~EscapableHandleScope()

v8::EscapableHandleScope::~EscapableHandleScope ( )
inline

◆ EscapableHandleScope() [2/2]

v8::EscapableHandleScope::EscapableHandleScope ( const EscapableHandleScope )
delete

Member Function Documentation

◆ Escape()

template<class T >
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.

◆ operator=()

void v8::EscapableHandleScope::operator= ( const EscapableHandleScope )
delete

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