v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::GraphBuildingRootVisitor Class Referencefinal
Inheritance diagram for v8::internal::GraphBuildingRootVisitor:
Collaboration diagram for v8::internal::GraphBuildingRootVisitor:

Public Member Functions

 GraphBuildingRootVisitor (CppGraphBuilderImpl &graph_builder, const ParentScope &parent_scope)
 
void VisitRoot (const void *, cppgc::TraceDescriptor desc, const cppgc::SourceLocation &loc) final
 
- 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)
 

Private Attributes

CppGraphBuilderImplgraph_builder_
 
const ParentScopeparent_scope_
 

Additional Inherited Members

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

Detailed Description

Definition at line 729 of file cpp-snapshot.cc.

Constructor & Destructor Documentation

◆ GraphBuildingRootVisitor()

v8::internal::GraphBuildingRootVisitor::GraphBuildingRootVisitor ( CppGraphBuilderImpl & graph_builder,
const ParentScope & parent_scope )
inline

Definition at line 731 of file cpp-snapshot.cc.

Member Function Documentation

◆ VisitRoot()

void v8::internal::GraphBuildingRootVisitor::VisitRoot ( const void * ,
cppgc::TraceDescriptor desc,
const cppgc::SourceLocation & loc )
inlinefinalvirtual

Reimplemented from cppgc::internal::RootVisitor.

Definition at line 735 of file cpp-snapshot.cc.

Member Data Documentation

◆ graph_builder_

CppGraphBuilderImpl& v8::internal::GraphBuildingRootVisitor::graph_builder_
private

Definition at line 743 of file cpp-snapshot.cc.

◆ parent_scope_

const ParentScope& v8::internal::GraphBuildingRootVisitor::parent_scope_
private

Definition at line 744 of file cpp-snapshot.cc.


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