v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_INLINE | UniquePersistent () |
template<class S > | |
V8_INLINE | UniquePersistent (Isolate *isolate, Handle< S > that) |
template<class S > | |
V8_INLINE | UniquePersistent (Isolate *isolate, const PersistentBase< S > &that) |
V8_INLINE | UniquePersistent (RValue rvalue) |
V8_INLINE | ~UniquePersistent () |
template<class S > | |
V8_INLINE UniquePersistent & | operator= (UniquePersistent< S > rhs) |
V8_INLINE | operator RValue () |
V8_INLINE UniquePersistent | Pass () |
Public Member Functions inherited from PersistentBase< T > | |
V8_INLINE void | Reset () |
template<class S > | |
V8_INLINE void | Reset (Isolate *isolate, const Handle< S > &other) |
template<class S > | |
V8_INLINE void | Reset (Isolate *isolate, const PersistentBase< S > &other) |
V8_INLINE bool | IsEmpty () const |
template<class S > | |
V8_INLINE bool | operator== (const PersistentBase< S > &that) const |
template<class S > | |
V8_INLINE bool | operator== (const Handle< S > &that) const |
template<class S > | |
V8_INLINE bool | operator!= (const PersistentBase< S > &that) const |
template<class S > | |
V8_INLINE bool | operator!= (const Handle< S > &that) const |
template<typename P > | |
V8_INLINE void | SetWeak (P *parameter, typename WeakCallbackData< T, P >::Callback callback) |
template<typename S , typename P > | |
V8_INLINE void | SetWeak (P *parameter, typename WeakCallbackData< S, P >::Callback callback) |
template<typename P > | |
V8_INLINE P * | ClearWeak () |
V8_INLINE void | ClearWeak () |
V8_INLINE void | MarkIndependent () |
V8_INLINE void | MarkPartiallyDependent () |
V8_INLINE bool | IsIndependent () const |
V8_INLINE bool | IsNearDeath () const |
V8_INLINE bool | IsWeak () const |
V8_INLINE void | SetWrapperClassId (uint16_t class_id) |
V8_INLINE uint16_t | WrapperClassId () const |
template<class S > | |
void | Reset (Isolate *isolate, const Handle< S > &other) |
template<class S > | |
void | Reset (Isolate *isolate, const PersistentBase< S > &other) |
template<typename S , typename P > | |
void | SetWeak (P *parameter, typename WeakCallbackData< S, P >::Callback callback) |
template<typename P > | |
void | SetWeak (P *parameter, typename WeakCallbackData< T, P >::Callback callback) |
A PersistentBase which has move semantics.
Note: Persistent class hierarchy is subject to future changes.
|
inline |
A UniquePersistent with no storage cell.
Definition at line 760 of file v8.h.
Referenced by UniquePersistent< T >::Pass().
|
inline |
Construct a UniquePersistent from a Handle. When the Handle is non-empty, a new storage cell is created pointing to the same object, and no flags are set.
Definition at line 767 of file v8.h.
References S, T, and TYPE_CHECK.
|
inline |
Construct a UniquePersistent 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 777 of file v8.h.
References S, T, and TYPE_CHECK.
|
inline |
|
inline |
Definition at line 788 of file v8.h.
References PersistentBase< T >::Reset().
|
inline |
Move via assignment.
Definition at line 793 of file v8.h.
References PersistentBase< T >::Reset(), S, T, and TYPE_CHECK.
|
inline |
Pass allows returning uniques from functions, etc.
Definition at line 807 of file v8.h.
References UniquePersistent< T >::UniquePersistent().
Referenced by THREADED_TEST().