v8 12.4.254 (node 22.4.1)
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 441 of file visitor.h.

Constructor & Destructor Documentation

◆ RootVisitor()

RootVisitor ( Visitor::Key  )
inlineexplicit

Definition at line 443 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 450 of file visitor.h.

◆ Trace() [2/2]

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

Definition at line 463 of file visitor.h.

◆ VisitRoot()

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

Definition at line 476 of file visitor.h.

◆ VisitWeakRoot()

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

Definition at line 477 of file visitor.h.


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