v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-persistent-handle.h>
Public Member Functions | |
V8_INLINE | Eternal ()=default |
template<class S > | |
V8_INLINE | Eternal (Isolate *isolate, Local< S > handle) |
V8_INLINE Local< T > | Get (Isolate *isolate) const |
template<class S > | |
void | Set (Isolate *isolate, Local< S > handle) |
Public Member Functions inherited from IndirectHandleBase | |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
Additional Inherited Members | |
Protected Member Functions inherited from IndirectHandleBase | |
V8_INLINE | IndirectHandleBase ()=default |
V8_INLINE | IndirectHandleBase (const IndirectHandleBase &other)=default |
V8_INLINE IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
V8_INLINE | IndirectHandleBase (internal::Address *location) |
V8_INLINE internal::Address | ptr () const |
V8_INLINE internal::Address *const & | slot () const |
V8_INLINE internal::Address *& | slot () |
template<typename T , bool check_null = false> | |
V8_INLINE T * | value () const |
Eternal handles are set-once handles that live for the lifetime of the isolate.
Definition at line 47 of file v8-persistent-handle.h.
|
inline |
Definition at line 52 of file v8-persistent-handle.h.
Definition at line 57 of file v8-persistent-handle.h.
References IndirectHandleBase::slot().
Definition at line 64 of file v8-persistent-handle.h.
References v8::api_internal::Eternalize(), and IndirectHandleBase::slot().