v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
ValueHelper Class Referencefinal

#include <v8-internal.h>

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)
 

Static Public Attributes

static constexpr Address kEmpty = kNullAddress
 

Detailed Description

Definition at line 1312 of file v8-internal.h.

Member Function Documentation

◆ HandleAsValue()

template<template< typename T, typename... Ms > typename H, typename T , typename... Ms>
static V8_INLINE T * HandleAsValue ( const H< T, Ms... > &  handle)
inlinestatic

Definition at line 1331 of file v8-internal.h.

◆ IsEmpty()

template<typename T >
static V8_INLINE bool IsEmpty ( T *  value)
inlinestatic

Definition at line 1322 of file v8-internal.h.

References ValueHelper::kEmpty.

Referenced by LocalBase< T >::New().

◆ SlotAsValue()

template<typename T , bool check_null = true, typename S >
static V8_INLINE T * SlotAsValue ( S *  slot)
inlinestatic

Definition at line 1358 of file v8-internal.h.

◆ ValueAsAddress()

Field Documentation

◆ kEmpty

constexpr Address kEmpty = kNullAddress
staticconstexpr

Definition at line 1318 of file v8-internal.h.

Referenced by ValueHelper::IsEmpty().


The documentation for this class was generated from the following file: