v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ValueHelper Class Referencefinal

#include <v8-internal.h>

Collaboration diagram for v8::internal::ValueHelper:

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 THandleAsValue (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 TSlotAsValue (S *slot)
 
template<typename T >
static V8_INLINE InternalRepresentationType ValueAsRepr (const T *value)
 
template<typename T >
static V8_INLINE TReprAsValue (InternalRepresentationType repr)
 

Static Public Attributes

static constexpr InternalRepresentationType kEmpty = nullptr
 

Detailed Description

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

Member Typedef Documentation

◆ InternalRepresentationType

Member Function Documentation

◆ HandleAsValue()

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

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

Here is the call graph for this function:

◆ IsEmpty()

template<typename T >
static V8_INLINE bool v8::internal::ValueHelper::IsEmpty ( T * value)
inlinestatic

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReprAsValue()

template<typename T >
static V8_INLINE T * v8::internal::ValueHelper::ReprAsValue ( InternalRepresentationType repr)
inlinestatic

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

Here is the caller graph for this function:

◆ SlotAsValue()

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

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

Here is the caller graph for this function:

◆ ValueAsAddress()

template<typename T >
static V8_INLINE Address v8::internal::ValueHelper::ValueAsAddress ( const T * value)
inlinestatic

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

Here is the caller graph for this function:

◆ ValueAsRepr()

template<typename T >
static V8_INLINE InternalRepresentationType v8::internal::ValueHelper::ValueAsRepr ( const T * value)
inlinestatic

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

Here is the caller graph for this function:

Member Data Documentation

◆ kEmpty

InternalRepresentationType v8::internal::ValueHelper::kEmpty = nullptr
staticconstexpr

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


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