![]() |
v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
|
#include <v8-internal.h>
Public Types | |
using | InternalRepresentationType = internal::Address* |
Static Public Member Functions | |
template<typename T> | |
static V8_INLINE bool | IsEmpty (T *value) |
template<template< typename T, typename... Ms > typename H, typename T, typename... Ms> | |
static V8_INLINE T * | HandleAsValue (const H< T, Ms... > &handle) |
template<typename T> | |
static V8_INLINE Address | ValueAsAddress (const T *value) |
template<typename T, bool check_null = true, typename S> | |
static V8_INLINE T * | SlotAsValue (S *slot) |
template<typename T> | |
static V8_INLINE InternalRepresentationType | ValueAsRepr (const T *value) |
template<typename T> | |
static V8_INLINE T * | ReprAsValue (InternalRepresentationType repr) |
Static Public Attributes | |
static constexpr InternalRepresentationType | kEmpty = nullptr |
Definition at line 1615 of file v8-internal.h.
Definition at line 1629 of file v8-internal.h.
|
inlinestatic |
Definition at line 1643 of file v8-internal.h.
References V8_INLINE.
|
inlinestatic |
Definition at line 1634 of file v8-internal.h.
References kEmpty, V8_INLINE, and ValueAsRepr().
Referenced by LocalBase< T >::New().
|
inlinestatic |
Definition at line 1691 of file v8-internal.h.
References V8_INLINE.
Referenced by Context::GetDataFromSnapshotOnce(), and Isolate::GetDataFromSnapshotOnce().
|
inlinestatic |
Definition at line 1680 of file v8-internal.h.
References V8_INLINE.
Referenced by PersistentValueReference< K, V, Traits >::FromVal(), ReturnValue< T >::Get(), PersistentValueMapBase< K, V, Traits >::PersistentValueReference::NewLocal(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetFalse(), ReturnValue< T >::SetNull(), ReturnValue< T >::SetUndefined(), and IndirectHandleBase::value().
Definition at line 1675 of file v8-internal.h.
References V8_INLINE.
Referenced by SnapshotCreator::AddData(), SnapshotCreator::AddData(), Context::GetAlignedPointerFromEmbedderData(), Context::GetAlignedPointerFromEmbedderData(), Object::GetAlignedPointerFromInternalField(), Object::GetAlignedPointerFromInternalField(), Context::GetEmbedderData(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), String::GetExternalStringResourceBase(), Object::GetInternalField(), TypecheckWitness::Matches(), LocalBase< T >::New(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Wrap(), Object::Wrap(), Object::Wrap(), Object::Wrap(), Object::Wrap(), and Object::Wrap().
|
inlinestatic |
|
staticconstexpr |
Definition at line 1630 of file v8-internal.h.
Referenced by Context::GetDataFromSnapshotOnce(), Isolate::GetDataFromSnapshotOnce(), and IsEmpty().