v8
8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
|
#include <visitor.h>
Public Member Functions | |
template<typename T > | |
void | Trace (const Member< T > &member) |
template<typename T > | |
void | Trace (const WeakMember< T > &weak_member) |
template<typename Persistent , std::enable_if_t< Persistent::IsStrongPersistent::value > * = nullptr> | |
void | TraceRoot (const Persistent &p, const SourceLocation &loc) |
template<typename WeakPersistent , std::enable_if_t<!WeakPersistent::IsStrongPersistent::value > * = nullptr> | |
void | TraceRoot (const WeakPersistent &p, const SourceLocation &loc) |
template<typename T , void(T::*)(const LivenessBroker &) method> | |
void | RegisterWeakCallbackMethod (const T *obj) |
virtual void | RegisterWeakCallback (WeakCallback, const void *) |
Protected Member Functions | |
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) |
Friends | |
class | internal::VisitorBase |
Visitor passed to trace methods. All managed pointers must have called the visitor's trace method on them.
|
inlinevirtual |
Definition at line 89 of file visitor.h.
Referenced by Visitor::RegisterWeakCallbackMethod().
|
inline |
Definition at line 85 of file visitor.h.
References Visitor::RegisterWeakCallback().
|
inline |
Definition at line 30 of file visitor.h.
References cppgc::kSentinelPointer.
|
inline |
Definition at line 37 of file visitor.h.
References Visitor::VisitWeak().
|
inline |
Definition at line 57 of file visitor.h.
References Visitor::VisitRoot().
|
inline |
Definition at line 73 of file visitor.h.
References Visitor::VisitWeakRoot().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Definition at line 95 of file visitor.h.
Referenced by Visitor::TraceRoot().
|
inlineprotectedvirtual |
Definition at line 93 of file visitor.h.
Referenced by Visitor::Trace().
|
inlineprotectedvirtual |
Definition at line 96 of file visitor.h.
Referenced by Visitor::TraceRoot().