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

Public Types

enum class  Visibility { kHidden , kDependentVisibility , kVisible }
 

Public Member Functions

 StateBase (const void *key, size_t state_count, Visibility visibility, EmbedderNode *node, bool visited)
 
virtual ~StateBase ()=default
 
bool IsVisited () const
 
bool IsPending () const
 
bool IsVisibleNotDependent ()
 
void set_node (EmbedderNode *node)
 
EmbedderNodeget_node ()
 

Protected Member Functions

Visibility GetVisibility ()
 
StateBaseFollowDependencies ()
 

Protected Attributes

const void * key_
 
const size_t state_count_
 
Visibility visibility_
 
StateBasevisibility_dependency_ = nullptr
 
EmbedderNodenode_
 
bool visited_
 
bool pending_ = false
 

Friends

class State
 

Detailed Description

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

Member Enumeration Documentation

◆ Visibility

Enumerator
kHidden 
kDependentVisibility 
kVisible 

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

Constructor & Destructor Documentation

◆ StateBase()

v8::internal::StateBase::StateBase ( const void * key,
size_t state_count,
Visibility visibility,
EmbedderNode * node,
bool visited )
inline

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

◆ ~StateBase()

virtual v8::internal::StateBase::~StateBase ( )
virtualdefault

Member Function Documentation

◆ FollowDependencies()

StateBase * v8::internal::StateBase::FollowDependencies ( )
inlineprotected

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_node()

EmbedderNode * v8::internal::StateBase::get_node ( )
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetVisibility()

Visibility v8::internal::StateBase::GetVisibility ( )
inlineprotected

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsPending()

bool v8::internal::StateBase::IsPending ( ) const
inline

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

Here is the caller graph for this function:

◆ IsVisibleNotDependent()

bool v8::internal::StateBase::IsVisibleNotDependent ( )
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsVisited()

bool v8::internal::StateBase::IsVisited ( ) const
inline

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

Here is the caller graph for this function:

◆ set_node()

void v8::internal::StateBase::set_node ( EmbedderNode * node)
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ State

friend class State
friend

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

Member Data Documentation

◆ key_

const void* v8::internal::StateBase::key_
protected

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

◆ node_

EmbedderNode* v8::internal::StateBase::node_
protected

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

◆ pending_

bool v8::internal::StateBase::pending_ = false
protected

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

◆ state_count_

const size_t v8::internal::StateBase::state_count_
protected

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

◆ visibility_

Visibility v8::internal::StateBase::visibility_
protected

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

◆ visibility_dependency_

StateBase* v8::internal::StateBase::visibility_dependency_ = nullptr
protected

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

◆ visited_

bool v8::internal::StateBase::visited_
protected

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


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