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

#include <v8-cppgc.h>

Inheritance diagram for JSVisitor:
Collaboration diagram for JSVisitor:

Public Member Functions

 JSVisitor (cppgc::Visitor::Key key)
 
template<typename T >
void Trace (const JSMember< T > &ref)
 
- Public Member Functions inherited from Visitor
 Visitor (Key)
 
virtual ~Visitor ()=default
 
template<typename T >
void Trace (const Member< T > &member)
 
template<typename T >
void Trace (const WeakMember< T > &weak_member)
 
template<typename T >
void Trace (const T &object)
 
template<typename T , void(T::*)(const LivenessBroker &) method>
void RegisterWeakCallbackMethod (const T *object)
 
virtual void RegisterWeakCallback (WeakCallback callback, const void *data)
 

Protected Member Functions

virtual void Visit (const internal::JSMemberBase &ref)
 
- Protected Member Functions inherited from Visitor
virtual void Visit (const void *self, TraceDescriptor)
 
virtual void VisitWeak (const void *self, TraceDescriptor, WeakCallback, const void *weak_member)
 
virtual void VisitRoot (const void *, TraceDescriptor)
 
virtual void VisitWeakRoot (const void *self, TraceDescriptor, WeakCallback, const void *weak_root)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ JSVisitor()

JSVisitor ( cppgc::Visitor::Key  key)
inlineexplicit

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

References Visitor::Visitor().

Member Function Documentation

◆ Trace()

void Trace ( const JSMember< T > &  ref)
inline

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

◆ Visit()

virtual void Visit ( const internal::JSMemberBase ref)
inlineprotectedvirtual

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


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