![]() |
v8 13.6.233 (node 24.1.0)
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) |
![]() | |
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 |
V8_INLINE internal::ValueHelper::InternalRepresentationType | repr () 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) |
static V8_INLINE LocalBase< T > | FromRepr (internal::ValueHelper::InternalRepresentationType repr) |
Friends | |
template<class F> | |
class | Local |
Additional Inherited Members | |
![]() | |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
A base class for local handles. Its implementation depends on whether direct handle 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 195 of file v8-local-handle.h.
References V8_INLINE.
Referenced by Local< String >(*)(Isolate *isolate, const char *name)::Cast(), Local< String >(*)(Isolate *isolate, const char *name)::debug::ConsoleCallArguments, FromRepr(), FromSlot(), Local< String >(*)(Isolate *isolate, const char *name)::Local(), LocalBase(), New(), and New().
|
inlineexplicitprotected |
Definition at line 202 of file v8-local-handle.h.
References IndirectHandleBase::IndirectHandleBase(), and V8_INLINE.
|
inlineprotected |
Definition at line 206 of file v8-local-handle.h.
References IndirectHandleBase::IndirectHandleBase(), LocalBase(), and V8_INLINE.
|
inlinestaticprotected |
Definition at line 223 of file v8-local-handle.h.
References LocalBase(), IndirectHandleBase::repr(), and V8_INLINE.
|
inlinestaticprotected |
Definition at line 219 of file v8-local-handle.h.
References LocalBase(), IndirectHandleBase::slot(), and V8_INLINE.
|
inlinestaticprotected |
Definition at line 208 of file v8-local-handle.h.
References HandleScope::CreateHandle(), LocalBase(), V8_INLINE, and IndirectHandleBase::value().
Referenced by New().
|
inlinestaticprotected |
Definition at line 213 of file v8-local-handle.h.
References ValueHelper::IsEmpty(), LocalBase(), New(), V8_INLINE, and ValueHelper::ValueAsAddress().