![]() |
v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-persistent-handle.h>


Public Types | |
| using | MoveOnlyTypeForCPP03 = void |
Public Member Functions | |
| V8_INLINE | Global () |
| template<class S > | |
| V8_INLINE | Global (Isolate *isolate, Local< S > that) |
| template<class S > | |
| V8_INLINE | Global (Isolate *isolate, const PersistentBase< S > &that) |
| V8_INLINE | Global (Global &&other) |
| V8_INLINE | ~Global () |
| template<class S > | |
| V8_INLINE Global & | operator= (Global< S > &&rhs) |
| Global | Pass () |
| Global (const Global &)=delete | |
| void | operator= (const Global &)=delete |
| template<class S > | |
| Global< T > & | operator= (Global< S > &&rhs) |
Public Member Functions inherited from PersistentBase< T > | |
| V8_INLINE void | Reset () |
| template<class S > | |
| V8_INLINE void | Reset (Isolate *isolate, const Local< S > &other) |
| template<class S > | |
| V8_INLINE void | Reset (Isolate *isolate, const PersistentBase< S > &other) |
| V8_INLINE bool | IsEmpty () const |
| V8_INLINE void | Empty () |
| V8_INLINE Local< T > | Get (Isolate *isolate) const |
| template<class S > | |
| V8_INLINE bool | operator== (const PersistentBase< S > &that) const |
| template<class S > | |
| V8_INLINE bool | operator== (const Local< S > &that) const |
| template<class S > | |
| V8_INLINE bool | operator!= (const PersistentBase< S > &that) const |
| template<class S > | |
| V8_INLINE bool | operator!= (const Local< S > &that) const |
| template<typename P > | |
| V8_INLINE void | SetWeak (P *parameter, typename WeakCallbackInfo< P >::Callback callback, WeakCallbackType type) |
| V8_INLINE void | SetWeak () |
| template<typename P > | |
| V8_INLINE P * | ClearWeak () |
| V8_INLINE void | ClearWeak () |
| V8_INLINE void | AnnotateStrongRetainer (const char *label) |
| V8_INLINE bool | IsWeak () const |
| V8_INLINE void | SetWrapperClassId (uint16_t class_id) |
| V8_INLINE uint16_t | WrapperClassId () const |
| PersistentBase (const PersistentBase &other)=delete | |
| void | operator= (const PersistentBase &)=delete |
| template<class S > | |
| void | Reset (Isolate *isolate, const Local< S > &other) |
| template<class S > | |
| void | Reset (Isolate *isolate, const PersistentBase< S > &other) |
Friends | |
| template<class F > | |
| class | ReturnValue |
A PersistentBase which has move semantics.
Note: Persistent class hierarchy is subject to future changes.
Definition at line 372 of file v8-persistent-handle.h.
| using MoveOnlyTypeForCPP03 = void |
Definition at line 422 of file v8-persistent-handle.h.
A Global with no storage cell.
Definition at line 377 of file v8-persistent-handle.h.
References Local< T >::PersistentBase.
Construct a Global from a Local. When the Local is non-empty, a new storage cell is created pointing to the same object, and no flags are set.
Definition at line 385 of file v8-persistent-handle.h.
References Local< T >::PersistentBase.
|
inline |
Construct a Global from a PersistentBase. When the Persistent is non-empty, a new storage cell is created pointing to the same object, and no flags are set.
Definition at line 396 of file v8-persistent-handle.h.
References Local< T >::PersistentBase.
Move constructor.
Definition at line 562 of file v8-persistent-handle.h.
References v8::api_internal::MoveGlobalReference(), and Local< T >::PersistentBase.
Definition at line 406 of file v8-persistent-handle.h.
|
delete |
Definition at line 573 of file v8-persistent-handle.h.
References v8::api_internal::MoveGlobalReference().
|
inline |
Pass allows returning uniques from functions, etc.
Definition at line 417 of file v8-persistent-handle.h.
References PersistentBase< T >::Global.
|
friend |
Definition at line 429 of file v8-persistent-handle.h.