v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-handle-base.h>
Public Member Functions | |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
Protected Member Functions | |
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 |
Friends | |
class | internal::ValueHelper |
class | internal::HandleHelper |
A base class for abstract handles containing indirect pointers. These are useful regardless of whether direct local support is enabled.
Definition at line 53 of file v8-handle-base.h.
|
protecteddefault |
|
protecteddefault |
|
inlineexplicitprotected |
Definition at line 70 of file v8-handle-base.h.
|
inline |
Definition at line 59 of file v8-handle-base.h.
Referenced by PersistentValueMapBase< K, V, Traits >::ClearAndLeak().
|
inline |
Definition at line 56 of file v8-handle-base.h.
Referenced by Persistent< T, M >::Cast(), Local< T >::Cast(), Persistent< T, M >::Copy(), EscapableHandleScope::Escape(), TracedReferenceBase::Get(), TracedReference< T >::operator=(), TracedReferenceBase::Reset(), PersistentBase< T >::Reset(), TracedReference< T >::Reset(), TracedReference< T >::Reset(), PersistentBase< T >::Reset(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::SetNonEmpty(), ReturnValue< T >::SetNonEmpty(), ReturnValue< T >::SetNonEmpty(), TracedReference< T >::TracedReference(), and TracedReference< T >::TracedReference().
|
protecteddefault |
|
inlineprotected |
Definition at line 76 of file v8-handle-base.h.
Referenced by ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::SetNonEmpty(), ReturnValue< T >::SetNonEmpty(), and ReturnValue< T >::SetNonEmpty().
|
inlineprotected |
Definition at line 80 of file v8-handle-base.h.
|
inlineprotected |
Definition at line 79 of file v8-handle-base.h.
Referenced by PersistentValueMapBase< K, V, Traits >::ClearAndLeak(), Persistent< T, M >::Copy(), EscapableHandleScope::Escape(), LocalBase< T >::FromSlot(), Eternal< T >::Get(), TracedReferenceBase::GetSlotThreadSafe(), PersistentValueMapBase< K, V, Traits >::Leak(), TracedReference< T >::operator=(), PersistentValueMapBase< K, V, Traits >::Release(), PersistentValueMapBase< K, V, Traits >::RemoveWeak(), TracedReferenceBase::Reset(), Eternal< T >::Set(), TracedReferenceBase::SetSlotThreadSafe(), and IndirectHandleBase::value().
|
inlineprotected |
Definition at line 85 of file v8-handle-base.h.
References IndirectHandleBase::slot().
Referenced by LocalBase< T >::New().
|
friend |
Definition at line 63 of file v8-handle-base.h.
|
friend |
Definition at line 62 of file v8-handle-base.h.