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

#include <global-handles.h>

Collaboration diagram for v8::internal::GlobalHandles::PendingPhantomCallback:

Public Types

enum  InvocationType { kFirstPass , kSecondPass }
 
using Data = v8::WeakCallbackInfo<void>
 

Public Member Functions

 PendingPhantomCallback (Data::Callback callback, void *parameter, void *embedder_fields[v8::kEmbedderFieldsInWeakCallback])
 
void Invoke (Isolate *isolate, InvocationType type)
 
Data::Callback callback () const
 

Private Attributes

Data::Callback callback_
 
void * parameter_
 
void * embedder_fields_ [v8::kEmbedderFieldsInWeakCallback]
 

Detailed Description

Definition at line 167 of file global-handles.h.

Member Typedef Documentation

◆ Data

Member Enumeration Documentation

◆ InvocationType

Enumerator
kFirstPass 
kSecondPass 

Definition at line 171 of file global-handles.h.

Constructor & Destructor Documentation

◆ PendingPhantomCallback()

v8::internal::GlobalHandles::PendingPhantomCallback::PendingPhantomCallback ( Data::Callback callback,
void * parameter,
void * embedder_fields[v8::kEmbedderFieldsInWeakCallback] )
inline

Definition at line 173 of file global-handles.h.

Member Function Documentation

◆ callback()

Data::Callback v8::internal::GlobalHandles::PendingPhantomCallback::callback ( ) const
inline

Definition at line 184 of file global-handles.h.

Here is the caller graph for this function:

◆ Invoke()

void v8::internal::GlobalHandles::PendingPhantomCallback::Invoke ( Isolate * isolate,
InvocationType type )

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

Here is the call graph for this function:

Member Data Documentation

◆ callback_

Data::Callback v8::internal::GlobalHandles::PendingPhantomCallback::callback_
private

Definition at line 187 of file global-handles.h.

◆ embedder_fields_

void* v8::internal::GlobalHandles::PendingPhantomCallback::embedder_fields_[v8::kEmbedderFieldsInWeakCallback]
private

Definition at line 189 of file global-handles.h.

◆ parameter_

void* v8::internal::GlobalHandles::PendingPhantomCallback::parameter_
private

Definition at line 188 of file global-handles.h.


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