v8
7.9.317 (node 13.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
~TracedGlobal () | |
TracedGlobal () | |
template<class S > | |
TracedGlobal (Isolate *isolate, Local< S > that) | |
V8_INLINE | TracedGlobal (TracedGlobal &&other) |
template<typename S > | |
V8_INLINE | TracedGlobal (TracedGlobal< S > &&other) |
V8_INLINE | TracedGlobal (const TracedGlobal &other) |
template<typename S > | |
V8_INLINE | TracedGlobal (const TracedGlobal< S > &other) |
V8_INLINE TracedGlobal & | operator= (TracedGlobal &&rhs) |
template<class S > | |
V8_INLINE TracedGlobal & | operator= (TracedGlobal< S > &&rhs) |
V8_INLINE TracedGlobal & | operator= (const TracedGlobal &rhs) |
template<class S > | |
V8_INLINE TracedGlobal & | operator= (const TracedGlobal< S > &rhs) |
template<class S > | |
V8_INLINE void | Reset (Isolate *isolate, const Local< S > &other) |
template<class S > | |
V8_INLINE TracedGlobal< S > & | As () const |
template<class S > | |
void | Reset (Isolate *isolate, const Local< S > &other) |
template<class S > | |
TracedGlobal< T > & | operator= (TracedGlobal< S > &&rhs) |
template<class S > | |
TracedGlobal< T > & | operator= (const TracedGlobal< S > &rhs) |
Public Member Functions inherited from TracedReferenceBase< T > | |
bool | IsEmpty () const |
V8_INLINE void | Reset () |
Local< T > | Get (Isolate *isolate) const |
template<class S > | |
V8_INLINE bool | operator== (const TracedReferenceBase< S > &that) const |
template<class S > | |
V8_INLINE bool | operator== (const Local< S > &that) const |
template<class S > | |
V8_INLINE bool | operator!= (const TracedReferenceBase< S > &that) const |
template<class S > | |
V8_INLINE bool | operator!= (const Local< S > &that) const |
V8_INLINE void | SetWrapperClassId (uint16_t class_id) |
V8_INLINE uint16_t | WrapperClassId () const |
V8_INLINE void | SetFinalizationCallback (void *parameter, WeakCallbackInfo< void >::Callback callback) |
template<class S > | |
V8_INLINE TracedReferenceBase< S > & | As () const |
A traced handle with destructor that clears the handle. For more details see TracedReferenceBase.
|
inline |
|
inline |
An empty TracedGlobal without storage cell.
Definition at line 947 of file v8.h.
References Local< T >::TracedReferenceBase.
|
inline |
Construct a TracedGlobal from a Local.
When the Local is non-empty, a new storage cell is created pointing to the same object.
Definition at line 956 of file v8.h.
References Local< T >::TracedReferenceBase.
|
inline |
Move constructor initializing TracedGlobal from an existing one.
|
inline |
Move constructor initializing TracedGlobal from an existing one.
|
inline |
Copy constructor initializing TracedGlobal from an existing one.
|
inline |
Copy constructor initializing TracedGlobal from an existing one.
|
inline |
Definition at line 1032 of file v8.h.
References Local< T >::TracedGlobal.
TracedGlobal< T > & operator= | ( | const TracedGlobal< T > & | rhs | ) |
Copy assignment operator initializing TracedGlobal from an existing one.
Note: Prohibited when |other| has a finalization callback set through |SetFinalizationCallback|.
V8_INLINE TracedGlobal& operator= | ( | const TracedGlobal< S > & | rhs | ) |
Copy assignment operator initializing TracedGlobal from an existing one.
Note: Prohibited when |other| has a finalization callback set through |SetFinalizationCallback|.
TracedGlobal<T>& operator= | ( | const TracedGlobal< S > & | rhs | ) |
TracedGlobal< T > & operator= | ( | TracedGlobal< T > && | rhs | ) |
Move assignment operator initializing TracedGlobal from an existing one.
V8_INLINE TracedGlobal& operator= | ( | TracedGlobal< S > && | rhs | ) |
Move assignment operator initializing TracedGlobal from an existing one.
TracedGlobal<T>& operator= | ( | TracedGlobal< S > && | rhs | ) |
If non-empty, destroy the underlying storage cell and create a new one with the contents of other if other is non empty
Definition at line 10387 of file v8.h.
References Local< T >::TracedReferenceBase.