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

#include <js-objects.h>

Collaboration diagram for v8::internal::JSApiWrapper:

Public Member Functions

V8_INLINE JSApiWrapper (Tagged< JSObject > object)
 
template<CppHeapPointerTag tag>
V8_INLINE void SetCppHeapWrappable (IsolateForPointerCompression isolate, void *)
 
V8_INLINE void SetCppHeapWrappable (IsolateForPointerCompression isolate, void *, CppHeapPointerTag tag)
 
template<CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound>
V8_INLINE void * GetCppHeapWrappable (IsolateForPointerCompression isolate) const
 
V8_INLINE void * GetCppHeapWrappable (IsolateForPointerCompression isolate, CppHeapPointerTagRange tag_range) const
 
template<CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound>
void * GetCppHeapWrappable (IsolateForPointerCompression isolate) const
 
template<CppHeapPointerTag tag>
void SetCppHeapWrappable (IsolateForPointerCompression isolate, void *instance)
 

Private Attributes

Tagged< JSObjectobject_
 

Static Private Attributes

static constexpr int kCppHeapWrappableOffset
 

Detailed Description

Definition at line 1086 of file js-objects.h.

Constructor & Destructor Documentation

◆ JSApiWrapper()

V8_INLINE v8::internal::JSApiWrapper::JSApiWrapper ( Tagged< JSObject > object)
explicit

Member Function Documentation

◆ GetCppHeapWrappable() [1/3]

template<CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound>
void * v8::internal::JSApiWrapper::GetCppHeapWrappable ( IsolateForPointerCompression isolate) const

Definition at line 652 of file js-objects-inl.h.

◆ GetCppHeapWrappable() [2/3]

template<CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound>
V8_INLINE void * v8::internal::JSApiWrapper::GetCppHeapWrappable ( IsolateForPointerCompression isolate) const
Here is the caller graph for this function:

◆ GetCppHeapWrappable() [3/3]

void * v8::internal::JSApiWrapper::GetCppHeapWrappable ( IsolateForPointerCompression isolate,
CppHeapPointerTagRange tag_range ) const

Definition at line 659 of file js-objects-inl.h.

◆ SetCppHeapWrappable() [1/3]

template<CppHeapPointerTag tag>
V8_INLINE void v8::internal::JSApiWrapper::SetCppHeapWrappable ( IsolateForPointerCompression isolate,
void *  )

◆ SetCppHeapWrappable() [2/3]

void v8::internal::JSApiWrapper::SetCppHeapWrappable ( IsolateForPointerCompression isolate,
void * instance,
CppHeapPointerTag tag )

Definition at line 679 of file js-objects-inl.h.

◆ SetCppHeapWrappable() [3/3]

template<CppHeapPointerTag tag>
void v8::internal::JSApiWrapper::SetCppHeapWrappable ( IsolateForPointerCompression isolate,
void * instance )

Definition at line 667 of file js-objects-inl.h.

Member Data Documentation

◆ kCppHeapWrappableOffset

int v8::internal::JSApiWrapper::kCppHeapWrappableOffset
staticconstexprprivate
Initial value:
=
JSAPIObjectWithEmbedderSlots::kCppHeapWrappableOffset

Definition at line 1104 of file js-objects.h.

◆ object_

Tagged<JSObject> v8::internal::JSApiWrapper::object_
private

Definition at line 1107 of file js-objects.h.


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