v8  8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
JSMemberBase Class Reference

#include <v8-cppgc.h>

Inheritance diagram for JSMemberBase:

Public Member Functions

bool IsEmpty () const
void Reset ()


template<typename T >
class v8::JSMember
class v8::internal::JSMemberBaseExtractor

Detailed Description

Definition at line 22 of file v8-cppgc.h.

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( ) const

Returns true if the reference is empty, i.e., has not been assigned object.

Definition at line 28 of file v8-cppgc.h.

Referenced by JSMemberBase::Reset().

◆ Reset()

void Reset ( )

Clears the reference. IsEmpty() will return true after this call.

Definition at line 79 of file v8-cppgc.h.

References JSMemberBase::IsEmpty().

Referenced by JSMember< T >::Set().

Friends And Related Function Documentation

◆ v8::internal::JSMemberBaseExtractor

friend class v8::internal::JSMemberBaseExtractor

Definition at line 57 of file v8-cppgc.h.

◆ v8::JSMember

friend class v8::JSMember

Definition at line 56 of file v8-cppgc.h.

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