v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
IndirectHandleBase Class Reference

#include <v8-handle-base.h>

Inheritance diagram for 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 T * value () const
 
V8_INLINE internal::ValueHelper::InternalRepresentationType repr () const
 

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]

◆ IndirectHandleBase() [2/3]

V8_INLINE IndirectHandleBase ( const IndirectHandleBase & other)
protecteddefault

References IndirectHandleBase(), and V8_INLINE.

◆ IndirectHandleBase() [3/3]

V8_INLINE IndirectHandleBase ( internal::Address * location)
inlineexplicitprotected

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

References V8_INLINE.

Member Function Documentation

◆ Clear()

V8_INLINE void Clear ( )
inline

◆ IsEmpty()

◆ operator=()

V8_INLINE IndirectHandleBase & operator= ( const IndirectHandleBase & that)
protecteddefault

References IndirectHandleBase(), and V8_INLINE.

◆ ptr()

◆ repr()

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

References V8_INLINE.

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

◆ slot() [1/2]

V8_INLINE internal::Address *& slot ( )
inlineprotected

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

References V8_INLINE.

◆ slot() [2/2]

◆ value()

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.


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