v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-traced-handle.h>
Public Member Functions | |
Local< T > | Get (Isolate *isolate) const |
template<class S > | |
V8_INLINE BasicTracedReference< S > & | As () const |
T * | operator-> () const |
T * | operator* () const |
Public Member Functions inherited from TracedReferenceBase | |
bool | IsEmpty () const |
V8_INLINE void | Reset () |
V8_INLINE v8::Local< v8::Value > | Get (v8::Isolate *isolate) const |
bool | IsEmptyThreadSafe () const |
V8_INLINE void | SetWrapperClassId (uint16_t class_id) |
V8_INLINE uint16_t | WrapperClassId () const |
Friends | |
class | EmbedderHeapTracer |
template<typename F > | |
class | Local |
class | Object |
template<typename F > | |
class | TracedGlobal |
template<typename F > | |
class | TracedReference |
template<typename F > | |
class | BasicTracedReference |
template<typename F > | |
class | ReturnValue |
Additional Inherited Members | |
Protected Member Functions inherited from TracedReferenceBase | |
void | SetSlotThreadSafe (void *new_val) |
const void * | GetSlotThreadSafe () const |
V8_EXPORT void | CheckValue () const |
Protected Attributes inherited from TracedReferenceBase | |
internal::Address * | val_ = nullptr |
A traced handle with copy and move semantics. The handle is to be used together with |v8::EmbedderHeapTracer| or as part of GarbageCollected objects (see v8-cppgc.h) and specifies edges from C++ objects to JavaScript.
The exact semantics are:
Note that the base class cannot be instantiated itself. Choose from
Definition at line 146 of file v8-traced-handle.h.
|
inline |
Definition at line 154 of file v8-traced-handle.h.
References Local< T >::BasicTracedReference.
Construct a Local<T> from this handle.
Definition at line 151 of file v8-traced-handle.h.
References HandleScope::Local.
|
inline |
Definition at line 165 of file v8-traced-handle.h.
References TracedReferenceBase::val_.
|
inline |
Definition at line 159 of file v8-traced-handle.h.
References TracedReferenceBase::val_.
Referenced by Object::GetAlignedPointerFromInternalField(), and Object::InternalFieldCount().
|
friend |
Definition at line 192 of file v8-traced-handle.h.
|
friend |
Definition at line 183 of file v8-traced-handle.h.
|
friend |
Definition at line 185 of file v8-traced-handle.h.
|
friend |
Definition at line 186 of file v8-traced-handle.h.
|
friend |
Definition at line 194 of file v8-traced-handle.h.
|
friend |
Definition at line 188 of file v8-traced-handle.h.
|
friend |
Definition at line 190 of file v8-traced-handle.h.