V8  latest master commit
V8 is Google's open source JavaScript engine
cppgc::internal::PersistentNode Class Referencefinal

#include <persistent-node.h>

Public Member Functions

 PersistentNode ()=default
 
 PersistentNode (const PersistentNode &)=delete
 
PersistentNodeoperator= (const PersistentNode &)=delete
 
void InitializeAsUsedNode (void *owner, TraceCallback trace)
 
void InitializeAsFreeNode (PersistentNode *next)
 
void UpdateOwner (void *owner)
 
PersistentNodeFreeListNext () const
 
void Trace (Visitor *visitor) const
 
bool IsUsed () const
 

Detailed Description

Definition at line 25 of file persistent-node.h.

Constructor & Destructor Documentation

◆ PersistentNode() [1/2]

cppgc::internal::PersistentNode::PersistentNode ( )
default

◆ PersistentNode() [2/2]

cppgc::internal::PersistentNode::PersistentNode ( const PersistentNode )
delete

Member Function Documentation

◆ FreeListNext()

PersistentNode* cppgc::internal::PersistentNode::FreeListNext ( ) const
inline

Definition at line 47 of file persistent-node.h.

◆ InitializeAsFreeNode()

void cppgc::internal::PersistentNode::InitializeAsFreeNode ( PersistentNode next)
inline

Definition at line 37 of file persistent-node.h.

◆ InitializeAsUsedNode()

void cppgc::internal::PersistentNode::InitializeAsUsedNode ( void *  owner,
TraceCallback  trace 
)
inline

Definition at line 32 of file persistent-node.h.

◆ IsUsed()

bool cppgc::internal::PersistentNode::IsUsed ( ) const
inline

Definition at line 57 of file persistent-node.h.

◆ operator=()

PersistentNode& cppgc::internal::PersistentNode::operator= ( const PersistentNode )
delete

◆ Trace()

void cppgc::internal::PersistentNode::Trace ( Visitor visitor) const
inline

Definition at line 52 of file persistent-node.h.

◆ UpdateOwner()

void cppgc::internal::PersistentNode::UpdateOwner ( void *  owner)
inline

Definition at line 42 of file persistent-node.h.

Field Documentation

◆ next_

PersistentNode* cppgc::internal::PersistentNode::next_

Definition at line 65 of file persistent-node.h.

◆ owner_

void* cppgc::internal::PersistentNode::owner_ = nullptr

Definition at line 64 of file persistent-node.h.


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