v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_INLINE | Local () |
template<class S > | |
V8_INLINE | Local (Local< S > that) |
template<class S > | |
V8_INLINE | Local (Handle< S > that) |
template<class S > | |
V8_INLINE Local< S > | As () |
Public Member Functions inherited from Handle< T > | |
V8_INLINE | Handle () |
template<class S > | |
V8_INLINE | Handle (Handle< S > that) |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
V8_INLINE T * | operator-> () const |
V8_INLINE T * | operator* () 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<class S > | |
V8_INLINE bool | operator!= (const Persistent< S > &that) const |
template<class S > | |
V8_INLINE Handle< S > | As () |
template<typename T > | |
Handle (T *obj) | |
template<typename T > | |
Handle (T *obj, Isolate *isolate) | |
Static Public Member Functions | |
template<class S > | |
static V8_INLINE Local< T > | Cast (Local< S > that) |
static V8_INLINE Local< T > | New (Isolate *isolate, Handle< T > that) |
static V8_INLINE Local< T > | New (Isolate *isolate, const PersistentBase< T > &that) |
Static Public Member Functions inherited from Handle< T > | |
template<class S > | |
static V8_INLINE Handle< T > | Cast (Handle< S > that) |
static V8_INLINE Handle< T > | New (Isolate *isolate, Handle< T > that) |
static V8_INLINE Handle< T > | New (Isolate *isolate, const PersistentBase< T > &that) |
Friends | |
class | Utils |
template<class F > | |
class | Eternal |
template<class F > | |
class | PersistentBase |
template<class F , class M > | |
class | Persistent |
template<class F > | |
class | Handle |
template<class F > | |
class | Local |
template<class F > | |
class | FunctionCallbackInfo |
template<class F > | |
class | PropertyCallbackInfo |
class | String |
class | Object |
class | Context |
template<class F > | |
class | internal::CustomArguments |
class | HandleScope |
class | EscapableHandleScope |
template<class F1 , class F2 , class F3 > | |
class | PersistentValueMap |
A light-weight stack-allocated object handle. All operations that return objects from within v8 return them in local handles. They are created within HandleScopes, and all local handles allocated within a handle scope are destroyed when the handle scope is destroyed. Hence it is not necessary to explicitly deallocate local handles.
This check fails when trying to convert between incompatible handles. For example, converting from a Handle<String> to a Handle<Number>.
Definition at line 385 of file v8.h.
Referenced by TEST(), and THREADED_TEST().
Definition at line 372 of file v8.h.
Referenced by Local< Context >::As(), Promise::Catch(), Promise::Chain(), Shell::GetCompletions(), Promise::Resolver::GetPromise(), Promise::Resolver::New(), TEST(), and THREADED_TEST().
Create a local handle for the content of another handle. The referee is kept alive by the local handle even when the original handle is destroyed/disposed.
Definition at line 5713 of file v8.h.
Referenced by Shell::ExecuteString(), PersistentValueMap< K, V, Traits >::Get(), Shell::GetCompletions(), v8::internal::GetKeysForIndexedInterceptor(), v8::internal::GetKeysForNamedInterceptor(), LocalContext::local(), JsHttpRequestProcessor::Process(), Shell::RealmEval(), Shell::ReportException(), KangarooThread::Run(), LockIsolateAndCalculateFibSharedContextThread::Run(), LockUnlockLockThread::Run(), LockUnlockLockDefaultIsolateThread::Run(), RunBeforeGC(), TEST(), THREADED_TEST(), Visitor42::VisitPersistentHandle(), DeclarationContext::~DeclarationContext(), LocalContext::~LocalContext(), and TryCatch::~TryCatch().
|
static |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |