v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-local-handle.h>
Protected Member Functions | |
V8_INLINE | LocalBase ()=default |
V8_INLINE | LocalBase (internal::Address *location) |
template<typename S > | |
V8_INLINE | LocalBase (const LocalBase< S > &other) |
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 |
Static Protected Member Functions | |
static V8_INLINE LocalBase< T > | New (Isolate *isolate, internal::Address value) |
static V8_INLINE LocalBase< T > | New (Isolate *isolate, T *that) |
static V8_INLINE LocalBase< T > | FromSlot (internal::Address *slot) |
Friends | |
template<class F > | |
class | Local |
Additional Inherited Members | |
Public Member Functions inherited from IndirectHandleBase | |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
A base class for local handles. Its implementation depends on whether direct local support is enabled. When it is, a local handle contains a direct pointer to the referenced object, otherwise it contains an indirect pointer.
Definition at line 191 of file v8-local-handle.h.
Referenced by LocalBase< T >::New().
|
inlineexplicitprotected |
Definition at line 198 of file v8-local-handle.h.
|
inlineprotected |
Definition at line 202 of file v8-local-handle.h.
|
inlinestaticprotected |
Definition at line 215 of file v8-local-handle.h.
References IndirectHandleBase::slot().
|
inlinestaticprotected |
Definition at line 204 of file v8-local-handle.h.
References HandleScope::CreateHandle(), LocalBase< T >::LocalBase(), and IndirectHandleBase::value().
Referenced by LocalBase< T >::New().
|
inlinestaticprotected |
Definition at line 209 of file v8-local-handle.h.
References ValueHelper::IsEmpty(), LocalBase< T >::New(), and ValueHelper::ValueAsAddress().
Definition at line 194 of file v8-local-handle.h.