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

#include <v8-handle-base.h>

Inheritance diagram for v8::api_internal::IndirectHandleBase:
Collaboration diagram for v8::api_internal::IndirectHandleBase:

Public Member Functions

V8_INLINE bool IsEmpty () const
 
V8_INLINE void Clear ()
 

Protected Member Functions

V8_INLINE IndirectHandleBase ()=default
 
V8_INLINE IndirectHandleBase (const IndirectHandleBase &other)=default
 
V8_INLINE IndirectHandleBaseoperator= (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 Tvalue () const
 
V8_INLINE internal::ValueHelper::InternalRepresentationType repr () const
 

Private Attributes

internal::Addresslocation_ = nullptr
 

Friends

class internal::ValueHelper
 
class internal::HandleHelper
 

Detailed Description

A base class for abstract handles containing indirect pointers. These are useful regardless of whether direct local support is enabled.

Definition at line 57 of file v8-handle-base.h.

Constructor & Destructor Documentation

◆ IndirectHandleBase() [1/3]

V8_INLINE v8::api_internal::IndirectHandleBase::IndirectHandleBase ( )
protecteddefault

◆ IndirectHandleBase() [2/3]

V8_INLINE v8::api_internal::IndirectHandleBase::IndirectHandleBase ( const IndirectHandleBase & other)
protecteddefault

◆ IndirectHandleBase() [3/3]

V8_INLINE v8::api_internal::IndirectHandleBase::IndirectHandleBase ( internal::Address * location)
inlineexplicitprotected

Definition at line 74 of file v8-handle-base.h.

Member Function Documentation

◆ Clear()

V8_INLINE void v8::api_internal::IndirectHandleBase::Clear ( )
inline

Definition at line 63 of file v8-handle-base.h.

Here is the caller graph for this function:

◆ IsEmpty()

V8_INLINE bool v8::api_internal::IndirectHandleBase::IsEmpty ( ) const
inline

Definition at line 60 of file v8-handle-base.h.

◆ operator=()

V8_INLINE IndirectHandleBase & v8::api_internal::IndirectHandleBase::operator= ( const IndirectHandleBase & that)
protecteddefault

◆ ptr()

V8_INLINE internal::Address v8::api_internal::IndirectHandleBase::ptr ( ) const
inlineprotected

Definition at line 80 of file v8-handle-base.h.

◆ repr()

V8_INLINE internal::ValueHelper::InternalRepresentationType v8::api_internal::IndirectHandleBase::repr ( ) const
inlineprotected

Definition at line 98 of file v8-handle-base.h.

Here is the caller graph for this function:

◆ slot() [1/2]

V8_INLINE internal::Address *& v8::api_internal::IndirectHandleBase::slot ( )
inlineprotected

Definition at line 84 of file v8-handle-base.h.

◆ slot() [2/2]

V8_INLINE internal::Address *const & v8::api_internal::IndirectHandleBase::slot ( ) const
inlineprotected

Definition at line 83 of file v8-handle-base.h.

Here is the caller graph for this function:

◆ value()

template<typename T , bool check_null = false>
V8_INLINE T * v8::api_internal::IndirectHandleBase::value ( ) const
inlineprotected

Definition at line 89 of file v8-handle-base.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ internal::HandleHelper

friend class internal::HandleHelper
friend

Definition at line 67 of file v8-handle-base.h.

◆ internal::ValueHelper

friend class internal::ValueHelper
friend

Definition at line 66 of file v8-handle-base.h.

Member Data Documentation

◆ location_

internal::Address* v8::api_internal::IndirectHandleBase::location_ = nullptr
private

Definition at line 104 of file v8-handle-base.h.


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