![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>


Public Member Functions | |
| EscapableHandleScope (Isolate *isolate) | |
| V8_INLINE | ~EscapableHandleScope () |
| template<class T > | |
| V8_INLINE Local< T > | Escape (Local< T > value) |
Public Member Functions inherited from HandleScope | |
| HandleScope (Isolate *isolate) | |
| ~HandleScope () | |
| V8_INLINE Isolate * | GetIsolate () const |
Additional Inherited Members | |
Static Public Member Functions inherited from HandleScope | |
| static int | NumberOfHandles (Isolate *isolate) |
Protected Member Functions inherited from HandleScope | |
| V8_INLINE | HandleScope () |
| void | Initialize (Isolate *isolate) |
Static Protected Member Functions inherited from HandleScope | |
| static internal::Object ** | CreateHandle (internal::Isolate *isolate, internal::Object *value) |
A HandleScope which first allocates a handle in the current scope which will be later filled with the escape value.
| EscapableHandleScope | ( | Isolate * | isolate | ) |
Definition at line 629 of file api.cc.
References HandleScope::CreateHandle(), Isolate::heap(), and HandleScope::Initialize().
|
inline |
Pushes the value into the previous scope and returns a handle to it. Cannot be called twice.
Definition at line 892 of file v8.h.
References T.
Referenced by Shell::CreateEvaluationContext(), Handle< T >::EscapeFrom(), Message::Get(), Shell::GetCompletions(), StackTrace::GetFrame(), StackFrame::GetFunctionName(), StackFrame::GetScriptName(), StackFrame::GetScriptNameOrSourceURL(), Message::GetScriptResourceName(), Message::GetSourceLine(), Message::GetStackTrace(), Function::NewInstance(), TEST(), TestFastReturnValues(), and THREADED_TEST().