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

Public Member Functions

 NodeBase ()
 
void Free (Child *free_list)
 
IndirectHandle< ObjectPublish (Tagged< Object > object)
 
void Release (Child *free_list)
 
Tagged< Objectobject () const
 
FullObjectSlot location ()
 
IndirectHandle< Objecthandle ()
 
Address raw_object () const
 
uint8_t index () const
 
void set_index (uint8_t value)
 
uint16_t wrapper_class_id () const
 
bool has_wrapper_class_id () const
 
Child * next_free ()
 
void set_parameter (void *parameter)
 
void * parameter () const
 
void CheckNodeIsFreeNode () const
 

Static Public Member Functions

static const Child * FromLocation (const Address *location)
 
static Child * FromLocation (Address *location)
 

Protected Member Functions

Child * AsChild ()
 
const Child * AsChild () const
 
void ClearFields ()
 

Protected Attributes

Address object_ = kNullAddress
 
uint16_t class_id_ = 0
 
uint8_t index_ = 0
 
uint8_t flags_ = 0
 
union { 
 
   Child *   next_free = nullptr 
 
   void *   parameter 
 
data_ 
 

Detailed Description

template<class Child>
class v8::internal::NodeBase< Child >

Definition at line 291 of file global-handles.cc.

Constructor & Destructor Documentation

◆ NodeBase()

template<class Child >
v8::internal::NodeBase< Child >::NodeBase ( )
inline

Definition at line 301 of file global-handles.cc.

Member Function Documentation

◆ AsChild() [1/2]

template<class Child >
Child * v8::internal::NodeBase< Child >::AsChild ( )
inlineprotected

Definition at line 373 of file global-handles.cc.

Here is the caller graph for this function:

◆ AsChild() [2/2]

template<class Child >
const Child * v8::internal::NodeBase< Child >::AsChild ( ) const
inlineprotected

Definition at line 374 of file global-handles.cc.

◆ CheckNodeIsFreeNode()

template<class Child >
void v8::internal::NodeBase< Child >::CheckNodeIsFreeNode ( ) const
inline

Definition at line 366 of file global-handles.cc.

Here is the call graph for this function:

◆ ClearFields()

template<class Child >
void v8::internal::NodeBase< Child >::ClearFields ( )
inlineprotected

Definition at line 376 of file global-handles.cc.

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

◆ Free()

template<class Child >
void v8::internal::NodeBase< Child >::Free ( Child * free_list)
inline

Definition at line 315 of file global-handles.cc.

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

◆ FromLocation() [1/2]

template<class Child >
static Child * v8::internal::NodeBase< Child >::FromLocation ( Address * location)
inlinestatic

Definition at line 297 of file global-handles.cc.

Here is the call graph for this function:

◆ FromLocation() [2/2]

template<class Child >
static const Child * v8::internal::NodeBase< Child >::FromLocation ( const Address * location)
inlinestatic

Definition at line 293 of file global-handles.cc.

Here is the call graph for this function:

◆ handle()

template<class Child >
IndirectHandle< Object > v8::internal::NodeBase< Child >::handle ( )
inline

Definition at line 340 of file global-handles.cc.

Here is the caller graph for this function:

◆ has_wrapper_class_id()

template<class Child >
bool v8::internal::NodeBase< Child >::has_wrapper_class_id ( ) const
inline

Definition at line 347 of file global-handles.cc.

◆ index()

template<class Child >
uint8_t v8::internal::NodeBase< Child >::index ( ) const
inline

Definition at line 343 of file global-handles.cc.

◆ location()

template<class Child >
FullObjectSlot v8::internal::NodeBase< Child >::location ( )
inline

Definition at line 339 of file global-handles.cc.

Here is the caller graph for this function:

◆ next_free()

template<class Child >
Child * v8::internal::NodeBase< Child >::next_free ( )
inline

Definition at line 352 of file global-handles.cc.

Here is the call graph for this function:

◆ object()

template<class Child >
Tagged< Object > v8::internal::NodeBase< Child >::object ( ) const
inline

Definition at line 338 of file global-handles.cc.

◆ parameter()

template<class Child >
void * v8::internal::NodeBase< Child >::parameter ( ) const
inline

Definition at line 361 of file global-handles.cc.

Here is the call graph for this function:

◆ Publish()

template<class Child >
IndirectHandle< Object > v8::internal::NodeBase< Child >::Publish ( Tagged< Object > object)
inline

Definition at line 322 of file global-handles.cc.

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

◆ raw_object()

template<class Child >
Address v8::internal::NodeBase< Child >::raw_object ( ) const
inline

Definition at line 341 of file global-handles.cc.

◆ Release()

template<class Child >
void v8::internal::NodeBase< Child >::Release ( Child * free_list)
inline

Definition at line 332 of file global-handles.cc.

Here is the call graph for this function:

◆ set_index()

template<class Child >
void v8::internal::NodeBase< Child >::set_index ( uint8_t value)
inline

Definition at line 344 of file global-handles.cc.

◆ set_parameter()

template<class Child >
void v8::internal::NodeBase< Child >::set_parameter ( void * parameter)
inline

Definition at line 357 of file global-handles.cc.

Here is the call graph for this function:

◆ wrapper_class_id()

template<class Child >
uint16_t v8::internal::NodeBase< Child >::wrapper_class_id ( ) const
inline

Definition at line 346 of file global-handles.cc.

Member Data Documentation

◆ class_id_

template<class Child >
uint16_t v8::internal::NodeBase< Child >::class_id_ = 0
protected

Definition at line 392 of file global-handles.cc.

◆ [union]

union { ... } v8::internal::NodeBase< Child >::data_

◆ flags_

template<class Child >
uint8_t v8::internal::NodeBase< Child >::flags_ = 0
protected

Definition at line 397 of file global-handles.cc.

◆ index_

template<class Child >
uint8_t v8::internal::NodeBase< Child >::index_ = 0
protected

Definition at line 395 of file global-handles.cc.

◆ next_free

template<class Child >
Child* v8::internal::NodeBase< Child >::next_free = nullptr

Definition at line 403 of file global-handles.cc.

◆ object_

template<class Child >
Address v8::internal::NodeBase< Child >::object_ = kNullAddress
protected

Definition at line 389 of file global-handles.cc.

◆ parameter

template<class Child >
void* v8::internal::NodeBase< Child >::parameter

Definition at line 404 of file global-handles.cc.


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