v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::RootMarkingVisitor Class Reference

#include <marking-visitor.h>

Inheritance diagram for cppgc::internal::RootMarkingVisitor:
Collaboration diagram for cppgc::internal::RootMarkingVisitor:

Public Member Functions

 RootMarkingVisitor (MutatorMarkingState &)
 
 ~RootMarkingVisitor () override=default
 
- Public Member Functions inherited from cppgc::internal::RootVisitorBase
 RootVisitorBase ()
 
 ~RootVisitorBase () override=default
 
 RootVisitorBase (const RootVisitorBase &)=delete
 
RootVisitorBaseoperator= (const RootVisitorBase &)=delete
 
- Public Member Functions inherited from cppgc::internal::RootVisitor
 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

void VisitRoot (const void *, TraceDescriptor, const SourceLocation &) final
 
void VisitWeakRoot (const void *, TraceDescriptor, WeakCallback, const void *, const SourceLocation &) final
 
- Protected Member Functions inherited from cppgc::internal::RootVisitor

Protected Attributes

MutatorMarkingStatemutator_marking_state_
 

Detailed Description

Definition at line 64 of file marking-visitor.h.

Constructor & Destructor Documentation

◆ RootMarkingVisitor()

cppgc::internal::RootMarkingVisitor::RootMarkingVisitor ( MutatorMarkingState & marking_state)
explicit

Definition at line 124 of file marking-visitor.cc.

◆ ~RootMarkingVisitor()

cppgc::internal::RootMarkingVisitor::~RootMarkingVisitor ( )
overridedefault

Member Function Documentation

◆ VisitRoot()

void cppgc::internal::RootMarkingVisitor::VisitRoot ( const void * object,
TraceDescriptor desc,
const SourceLocation &  )
finalprotectedvirtual

Reimplemented from cppgc::internal::RootVisitor.

Definition at line 127 of file marking-visitor.cc.

Here is the call graph for this function:

◆ VisitWeakRoot()

void cppgc::internal::RootMarkingVisitor::VisitWeakRoot ( const void * object,
TraceDescriptor desc,
WeakCallback weak_callback,
const void * weak_root,
const SourceLocation &  )
finalprotectedvirtual

Reimplemented from cppgc::internal::RootVisitor.

Definition at line 132 of file marking-visitor.cc.

Here is the call graph for this function:

Member Data Documentation

◆ mutator_marking_state_

MutatorMarkingState& cppgc::internal::RootMarkingVisitor::mutator_marking_state_
protected

Definition at line 74 of file marking-visitor.h.


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