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

#include <visitor.h>

Public Member Functions

 RootVisitor (Visitor::Key)
 
virtual ~RootVisitor ()=default
 
template<typename AnyStrongPersistentType, std::enable_if_t< AnyStrongPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace (const AnyStrongPersistentType &p)
 
template<typename AnyWeakPersistentType, std::enable_if_t< !AnyWeakPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace (const AnyWeakPersistentType &p)
 

Protected Member Functions

virtual void VisitRoot (const void *, TraceDescriptor, const SourceLocation &)
 
virtual void VisitWeakRoot (const void *self, TraceDescriptor, WeakCallback, const void *weak_root, const SourceLocation &)
 

Detailed Description

Definition at line 465 of file visitor.h.

Constructor & Destructor Documentation

◆ RootVisitor()

RootVisitor ( Visitor::Key )
inlineexplicit

Definition at line 467 of file visitor.h.

◆ ~RootVisitor()

virtual ~RootVisitor ( )
virtualdefault

Member Function Documentation

◆ Trace() [1/2]

template<typename AnyStrongPersistentType, std::enable_if_t< AnyStrongPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace ( const AnyStrongPersistentType & p)
inline

Definition at line 474 of file visitor.h.

References TraceTraitBase< T >::GetTraceDescriptor(), and VisitRoot().

◆ Trace() [2/2]

template<typename AnyWeakPersistentType, std::enable_if_t< !AnyWeakPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace ( const AnyWeakPersistentType & p)
inline

◆ VisitRoot()

virtual void VisitRoot ( const void * ,
TraceDescriptor ,
const SourceLocation &  )
inlineprotectedvirtual

Definition at line 500 of file visitor.h.

Referenced by Trace().

◆ VisitWeakRoot()

virtual void VisitWeakRoot ( const void * self,
TraceDescriptor ,
WeakCallback ,
const void * weak_root,
const SourceLocation &  )
inlineprotectedvirtual

Definition at line 501 of file visitor.h.

Referenced by Trace().


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