#include <v8-traced-handle.h>
Public Member Functions | |
| Local< T > | Get (Isolate *isolate) const |
| template<class S > | |
| BasicTracedReference< S > & | As () const |
Public Member Functions inherited from v8::TracedReferenceBase | |
| void | Reset () |
| Local< Data > | Get (Isolate *isolate) const |
| bool | IsEmptyThreadSafe () const |
Public Member Functions inherited from v8::api_internal::IndirectHandleBase | |
| bool | IsEmpty () const |
| void | Clear () |
Friends | |
| template<typename F > | |
| class | Local |
| class | Object |
| template<typename F > | |
| class | TracedReference |
| template<typename F > | |
| class | BasicTracedReference |
| template<typename F > | |
| class | ReturnValue |
Additional Inherited Members | |
Protected Member Functions inherited from v8::TracedReferenceBase | |
| TracedReferenceBase ()=default | |
| void | SetSlotThreadSafe (internal::Address *new_val) |
| const internal::Address * | GetSlotThreadSafe () const |
| void | CheckValue () const |
Protected Member Functions inherited from v8::api_internal::IndirectHandleBase | |
| IndirectHandleBase ()=default | |
| IndirectHandleBase (const IndirectHandleBase &other)=default | |
| IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
| IndirectHandleBase (internal::Address *location) | |
| internal::Address | ptr () const |
| internal::Address *const & | slot () const |
| internal::Address *& | slot () |
| template<typename T , bool check_null = false> | |
| T * | value () const |
| internal::ValueHelper::InternalRepresentationType | repr () const |
A traced handle with copy and move semantics. The handle is to be used together as part of GarbageCollected objects (see v8-cppgc.h) or from stack and specifies edges from C++ objects to JavaScript.
The exact semantics are:
Note that the base class cannot be instantiated itself, use |TracedReference| instead.
|
inline |
|
inline |
Construct a Local<T> from this handle.
|
friend |