v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-function-callback.h>
Public Member Functions | |
template<class S > | |
V8_INLINE | ReturnValue (const ReturnValue< S > &that) |
template<typename S > | |
V8_INLINE void | Set (const Global< S > &handle) |
template<typename S > | |
V8_INLINE void | Set (const BasicTracedReference< S > &handle) |
template<typename S > | |
V8_INLINE void | Set (const Local< S > handle) |
V8_INLINE void | Set (bool value) |
V8_INLINE void | Set (double i) |
V8_INLINE void | Set (int32_t i) |
V8_INLINE void | Set (uint32_t i) |
V8_INLINE void | SetNull () |
V8_INLINE void | SetUndefined () |
V8_INLINE void | SetEmptyString () |
V8_INLINE Isolate * | GetIsolate () const |
template<typename S > | |
V8_INLINE void | Set (S *whatever) |
V8_INLINE Local< Value > | Get () const |
template<typename S > | |
void | Set (const Global< S > &handle) |
template<typename S > | |
void | Set (const BasicTracedReference< S > &handle) |
template<typename S > | |
void | Set (const Local< S > handle) |
template<typename S > | |
void | Set (S *whatever) |
Friends | |
template<class F > | |
class | ReturnValue |
template<class F > | |
class | FunctionCallbackInfo |
template<class F > | |
class | PropertyCallbackInfo |
template<class F , class G , class H > | |
class | PersistentValueMapBase |
Definition at line 31 of file v8-function-callback.h.
|
inline |
Definition at line 34 of file v8-function-callback.h.
Definition at line 362 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::GetRoot(), Internals::kTheHoleValueRootIndex, and HandleScope::Local.
Isolate * GetIsolate |
Definition at line 356 of file v8-function-callback.h.
Referenced by ReturnValue< T >::Get(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetNull(), and ReturnValue< T >::SetUndefined().
void Set | ( | bool | value | ) |
Definition at line 322 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::GetRoot(), Internals::kFalseValueRootIndex, and Internals::kTrueValueRootIndex.
V8_INLINE void Set | ( | const BasicTracedReference< S > & | handle | ) |
void Set | ( | const BasicTracedReference< S > & | handle | ) |
Definition at line 271 of file v8-function-callback.h.
Definition at line 260 of file v8-function-callback.h.
Definition at line 282 of file v8-function-callback.h.
Definition at line 293 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), and Number::New().
Definition at line 299 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::IntToSmi(), Internals::IsValidSmi(), and Integer::New().
void Set | ( | S * | whatever | ) |
Definition at line 371 of file v8-function-callback.h.
void Set | ( | uint32_t | i | ) |
Definition at line 310 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), and Integer::NewFromUnsigned().
void SetEmptyString |
Definition at line 349 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::GetRoot(), and Internals::kEmptyStringRootIndex.
void SetNull |
Definition at line 335 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::GetRoot(), and Internals::kNullValueRootIndex.
void SetUndefined |
Definition at line 342 of file v8-function-callback.h.
References ReturnValue< T >::GetIsolate(), Internals::GetRoot(), and Internals::kUndefinedValueRootIndex.
|
friend |
Definition at line 69 of file v8-function-callback.h.
|
friend |
Definition at line 73 of file v8-function-callback.h.
Referenced by GlobalValueMap< K, V, Traits >::GlobalValueMap(), and PersistentValueMap< K, V, Traits >::PersistentValueMap().
|
friend |
Definition at line 71 of file v8-function-callback.h.
|
friend |
Definition at line 67 of file v8-function-callback.h.