#include <v8-persistent-handle.h>
Public Member Functions | |
Eternal ()=default | |
template<class S > | |
Eternal (Isolate *isolate, Local< S > handle) | |
Local< T > | Get (Isolate *isolate) const |
template<class S > | |
void | Set (Isolate *isolate, Local< S > handle) |
Public Member Functions inherited from v8::api_internal::IndirectHandleBase | |
bool | IsEmpty () const |
void | Clear () |
Additional Inherited Members | |
Protected Member Functions inherited from v8::api_internal::IndirectHandleBase | |
IndirectHandleBase ()=default | |
IndirectHandleBase (const IndirectHandleBase &other)=default | |
IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
IndirectHandleBase (internal::Address *location) | |
internal::Address | ptr () const |
internal::Address *const & | slot () const |
internal::Address *& | slot () |
template<typename T , bool check_null = false> | |
T * | value () const |
internal::ValueHelper::InternalRepresentationType | repr () const |
Eternal handles are set-once handles that live for the lifetime of the isolate.
|
inlinedefault |
|
inline |
|
inline |
|
inline |