v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::EscapableHandleScopeBase Class Reference

#include <v8-local-handle.h>

Inheritance diagram for v8::EscapableHandleScopeBase:
Collaboration diagram for v8::EscapableHandleScopeBase:

Public Member Functions

 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 v8::HandleScope
 HandleScope (Isolate *isolate)
 
 ~HandleScope ()
 
V8_INLINE IsolateGetIsolate () const
 
 HandleScope (const HandleScope &)=delete
 
void operator= (const HandleScope &)=delete
 

Protected Member Functions

internal::AddressEscapeSlot (internal::Address *escape_value)
 
- Protected Member Functions inherited from v8::HandleScope
V8_INLINE HandleScope ()=default
 
void Initialize (Isolate *isolate)
 

Private Attributes

internal::Addressescape_slot_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::HandleScope
static int NumberOfHandles (Isolate *isolate)
 
static internal::AddressCreateHandleForCurrentIsolate (internal::Address value)
 
- Static Protected Member Functions inherited from v8::HandleScope
static internal::AddressCreateHandle (internal::Isolate *i_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 715 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ EscapableHandleScopeBase() [1/2]

v8::EscapableHandleScopeBase::EscapableHandleScopeBase ( Isolate * isolate)
explicit

Definition at line 746 of file api.cc.

Here is the call graph for this function:

◆ ~EscapableHandleScopeBase()

V8_INLINE v8::EscapableHandleScopeBase::~EscapableHandleScopeBase ( )
default

◆ EscapableHandleScopeBase() [2/2]

v8::EscapableHandleScopeBase::EscapableHandleScopeBase ( const EscapableHandleScopeBase & )
delete

Member Function Documentation

◆ EscapeSlot()

i::Address * v8::EscapableHandleScopeBase::EscapeSlot ( internal::Address * escape_value)
protected

Pushes the value into the previous scope and returns a handle to it. Cannot be called twice.

Definition at line 753 of file api.cc.

Here is the call graph for this function:

◆ operator delete()

void v8::EscapableHandleScopeBase::operator delete ( void * ,
size_t  )
delete

◆ operator delete[]()

void v8::EscapableHandleScopeBase::operator delete[] ( void * ,
size_t  )
delete

◆ operator new()

void * v8::EscapableHandleScopeBase::operator new ( size_t size)
delete

◆ operator new[]()

void * v8::EscapableHandleScopeBase::operator new[] ( size_t size)
delete

◆ operator=()

void v8::EscapableHandleScopeBase::operator= ( const EscapableHandleScopeBase & )
delete

Member Data Documentation

◆ escape_slot_

internal::Address* v8::EscapableHandleScopeBase::escape_slot_
private

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


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