![]() |
v8 13.6.233 (node 24.1.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 | SetNonEmpty (const Global< S > &handle) |
| template<typename S> | |
| V8_INLINE void | Set (const BasicTracedReference< S > &handle) |
| template<typename S> | |
| V8_INLINE void | SetNonEmpty (const BasicTracedReference< S > &handle) |
| template<typename S> | |
| V8_INLINE void | Set (const Local< S > handle) |
| template<typename S> | |
| V8_INLINE void | SetNonEmpty (const Local< S > handle) |
| V8_INLINE void | Set (bool value) |
| V8_INLINE void | Set (double i) |
| V8_INLINE void | Set (int16_t i) |
| V8_INLINE void | Set (int32_t i) |
| V8_INLINE void | Set (int64_t i) |
| V8_INLINE void | Set (uint16_t i) |
| V8_INLINE void | Set (uint32_t i) |
| V8_INLINE void | Set (uint64_t i) |
| V8_INLINE void | SetNull () |
| V8_INLINE void | SetUndefined () |
| V8_INLINE void | SetFalse () |
| 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 | SetNonEmpty (const Global< S > &handle) |
| template<typename S> | |
| void | Set (const BasicTracedReference< S > &handle) |
| template<typename S> | |
| void | SetNonEmpty (const BasicTracedReference< S > &handle) |
| template<typename S> | |
| void | Set (const Local< S > handle) |
| template<typename S> | |
| void | SetNonEmpty (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 41 of file v8-function-callback.h.
|
inline |
Definition at line 44 of file v8-function-callback.h.
References ReturnValue, and V8_INLINE.
Definition at line 603 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Local< T >::New(), and ValueHelper::SlotAsValue().
| Isolate * GetIsolate | ( | ) | const |
Definition at line 598 of file v8-function-callback.h.
Referenced by Set(), and SetNonEmpty().
| void Set | ( | bool | value | ) |
Definition at line 497 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), v8::internal::PerformCastCheck(), and ValueHelper::SlotAsValue().
| V8_INLINE void Set | ( | const BasicTracedReference< S > & | handle | ) |
References V8_INLINE.
Definition at line 358 of file v8-function-callback.h.
References IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), and V8_UNLIKELY.
References V8_INLINE.
Referenced by Set(), and SetNonEmpty().
Definition at line 337 of file v8-function-callback.h.
References IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), and V8_UNLIKELY.
References V8_INLINE.
Definition at line 379 of file v8-function-callback.h.
References GetIsolate(), IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), Set(), and V8_UNLIKELY.
| void Set | ( | double | i | ) |
Definition at line 433 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Number::New(), and SetNonEmpty().
| void Set | ( | int16_t | i | ) |
Definition at line 439 of file v8-function-callback.h.
| void Set | ( | int32_t | i | ) |
Definition at line 448 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Integer::New(), SetNonEmpty(), and Internals::TryIntegralToSmi().
| void Set | ( | int64_t | i | ) |
Definition at line 458 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Number::New(), SetNonEmpty(), and Internals::TryIntegralToSmi().
Definition at line 610 of file v8-function-callback.h.
| void Set | ( | uint16_t | i | ) |
Definition at line 468 of file v8-function-callback.h.
| void Set | ( | uint32_t | i | ) |
Definition at line 477 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Integer::NewFromUnsigned(), SetNonEmpty(), and Internals::TryIntegralToSmi().
| void Set | ( | uint64_t | i | ) |
Definition at line 487 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Number::New(), SetNonEmpty(), and Internals::TryIntegralToSmi().
| void SetEmptyString | ( | ) |
Definition at line 583 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), v8::internal::PerformCastCheck(), and ValueHelper::SlotAsValue().
| void SetFalse | ( | ) |
Definition at line 567 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), v8::internal::PerformCastCheck(), and ValueHelper::SlotAsValue().
| V8_INLINE void SetNonEmpty | ( | const BasicTracedReference< S > & | handle | ) |
References V8_INLINE.
| void SetNonEmpty | ( | const BasicTracedReference< S > & | handle | ) |
Definition at line 369 of file v8-function-callback.h.
References IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), and v8::internal::VerifyHandleIsNonEmpty().
Definition at line 348 of file v8-function-callback.h.
References IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), and v8::internal::VerifyHandleIsNonEmpty().
References V8_INLINE.
Definition at line 406 of file v8-function-callback.h.
References GetIsolate(), IndirectHandleBase::IsEmpty(), IndirectHandleBase::ptr(), Set(), and v8::internal::VerifyHandleIsNonEmpty().
| void SetNull | ( | ) |
Definition at line 537 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), v8::internal::PerformCastCheck(), and ValueHelper::SlotAsValue().
| void SetUndefined | ( | ) |
Definition at line 552 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), v8::internal::PerformCastCheck(), and ValueHelper::SlotAsValue().
Definition at line 90 of file v8-function-callback.h.
References FunctionCallbackInfo.
Referenced by FunctionCallbackInfo.
Definition at line 94 of file v8-function-callback.h.
References PersistentValueMapBase, and V8_INLINE.
Referenced by PersistentValueMapBase.
Definition at line 92 of file v8-function-callback.h.
References PropertyCallbackInfo.
Referenced by PropertyCallbackInfo.
Definition at line 88 of file v8-function-callback.h.
References ReturnValue.
Referenced by ReturnValue(), and ReturnValue.