![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <maybe-handles.h>
Public Member Functions | |
V8_INLINE | MaybeHandle ()=default |
V8_INLINE | MaybeHandle (NullMaybeHandleType) |
template<typename S > requires (is_subtype_v<S, T>) | |
V8_INLINE | MaybeHandle (Handle< S > handle) |
template<typename S > requires (is_subtype_v<S, T>) | |
V8_INLINE | MaybeHandle (MaybeHandle< S > maybe_handle) |
V8_INLINE | MaybeHandle (Tagged< T > object, Isolate *isolate) |
V8_INLINE | MaybeHandle (Tagged< T > object, LocalHeap *local_heap) |
V8_INLINE void | Assert () const |
V8_INLINE void | Check () const |
V8_INLINE Handle< T > | ToHandleChecked () const |
template<typename S > | |
V8_WARN_UNUSED_RESULT V8_INLINE bool | ToHandle (Handle< S > *out) const |
template<typename S > | |
V8_WARN_UNUSED_RESULT V8_INLINE bool | ToHandle (DirectHandle< S > *out) const |
bool | equals (MaybeHandle< T > other) const |
V8_INLINE Address | address () const |
bool | is_null () const |
template<typename S > | |
bool | ToHandle (DirectHandle< S > *out) const |
Protected Member Functions | |
V8_INLINE | MaybeHandle (Address *location) |
Protected Attributes | |
Address * | location_ = nullptr |
Friends | |
template<typename > | |
class | MaybeHandle |
template<typename To , typename From > | |
MaybeIndirectHandle< To > | UncheckedCast (MaybeHandle< From > value) |
Definition at line 28 of file maybe-handles.h.
|
default |
|
inline |
Definition at line 32 of file maybe-handles.h.
|
inline |
Definition at line 37 of file maybe-handles.h.
|
inline |
Definition at line 45 of file maybe-handles.h.
v8::internal::MaybeHandle< T >::MaybeHandle | ( | Tagged< T > | object, |
Isolate * | isolate ) |
Definition at line 20 of file maybe-handles-inl.h.
v8::internal::MaybeHandle< T >::MaybeHandle | ( | Tagged< T > | object, |
LocalHeap * | local_heap ) |
Definition at line 24 of file maybe-handles-inl.h.
|
inlineexplicitprotected |
Definition at line 89 of file maybe-handles.h.
|
inline |
|
inline |
Definition at line 52 of file maybe-handles.h.
|
inline |
|
inline |
Definition at line 76 of file maybe-handles.h.
|
inline |
bool v8::internal::MaybeHandle< T >::ToHandle | ( | DirectHandle< S > * | out | ) | const |
V8_WARN_UNUSED_RESULT V8_INLINE bool v8::internal::MaybeHandle< T >::ToHandle | ( | DirectHandle< S > * | out | ) | const |
|
inline |
|
inline |
Definition at line 55 of file maybe-handles.h.
Definition at line 96 of file maybe-handles.h.
|
friend |
|
protected |
Definition at line 91 of file maybe-handles.h.