Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
v8::JSVisitor Class Reference

#include <v8-cppgc.h>

Inheritance diagram for v8::JSVisitor:
[legend]
Collaboration diagram for v8::JSVisitor:
[legend]

Public Member Functions

 JSVisitor (cppgc::Visitor::Key key)
 
 ~JSVisitor () override=default
 
void Trace (const TracedReferenceBase &ref)
 
- Public Member Functions inherited from cppgc::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 TraceMultiple (const subtle::UncompressedMember< T > *start, size_t len)
 
template<typename T , std::enable_if_t<!std::is_same_v< Member< T >, subtle::UncompressedMember< T > > > * = nullptr>
void TraceMultiple (const Member< T > *start, size_t len)
 
template<typename T >
void Trace (const T &object)
 
template<typename T >
void TraceMultiple (const T *start, size_t len)
 
template<typename T , void(T::*)(const LivenessBroker &) method>
void RegisterWeakCallbackMethod (const T *object)
 
template<typename K , typename V >
void Trace (const EphemeronPair< K, V > &ephemeron_pair)
 
template<typename KeyType , typename ValueType >
void TraceEphemeron (const WeakMember< KeyType > &weak_member_key, const Member< ValueType > *member_value)
 
template<typename KeyType , typename ValueType >
void TraceEphemeron (const WeakMember< KeyType > &weak_member_key, const ValueType *value)
 
template<typename T >
void TraceStrongly (const WeakMember< T > &weak_member)
 
template<typename T >
void TraceStrongContainer (const T *object)
 
template<typename T >
void TraceWeakContainer (const T *object, WeakCallback callback, const void *callback_data)
 
template<typename T >
void RegisterMovableReference (const T **slot)
 
virtual void RegisterWeakCallback (WeakCallback callback, const void *data)
 
virtual bool DeferTraceToMutatorThreadIfConcurrent (const void *parameter, TraceCallback callback, size_t deferred_size)
 

Protected Member Functions

virtual void Visit (const TracedReferenceBase &ref)
 
- Protected Member Functions inherited from cppgc::Visitor
virtual void Visit (const void *self, TraceDescriptor)
 
virtual void VisitWeak (const void *self, TraceDescriptor, WeakCallback, const void *weak_member)
 
virtual void VisitEphemeron (const void *key, const void *value, TraceDescriptor value_desc)
 
virtual void VisitWeakContainer (const void *self, TraceDescriptor strong_desc, TraceDescriptor weak_desc, WeakCallback callback, const void *data)
 
virtual void HandleMovableReference (const void **)
 
virtual void VisitMultipleUncompressedMember (const void *start, size_t len, TraceDescriptorCallback get_trace_descriptor)
 

Constructor & Destructor Documentation

◆ JSVisitor()

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

◆ ~JSVisitor()

v8::JSVisitor::~JSVisitor ( )
overridedefault

Member Function Documentation

◆ Trace()

void v8::JSVisitor::Trace ( const TracedReferenceBase ref)
inline
Here is the call graph for this function:

◆ Visit()

virtual void v8::JSVisitor::Visit ( const TracedReferenceBase ref)
inlineprotectedvirtual
Here is the caller graph for this function:

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