v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HandleScope Class Reference

#include <handles.h>

Public Member Functions

 HandleScope ()
 
 HandleScope (Isolate *isolate)
 
 ~HandleScope ()
 
template<typename T >
Handle< TCloseAndEscape (Handle< T > handle_value)
 
Isolateisolate ()
 

Static Public Member Functions

static int NumberOfHandles ()
 
template<typename T >
static T ** CreateHandle (T *value, Isolate *isolate)
 
static void DeleteExtensions (Isolate *isolate)
 
static Address current_next_address ()
 
static Address current_limit_address ()
 
static Address current_level_address ()
 

Friends

class v8::internal::DeferredHandles
 
class v8::HandleScope
 
class v8::internal::HandleScopeImplementer
 
class v8::ImplementationUtilities
 
class v8::internal::Isolate
 

Detailed Description

Definition at line 114 of file handles.h.

Constructor & Destructor Documentation

HandleScope ( )
inline

Definition at line 70 of file handles-inl.h.

References Isolate::handle_scope_data(), and HandleScope::isolate().

HandleScope ( Isolate isolate)
inlineexplicit

Definition at line 81 of file handles-inl.h.

References ASSERT, Isolate::handle_scope_data(), and HandleScope::isolate().

~HandleScope ( )
inline

Definition at line 92 of file handles-inl.h.

Member Function Documentation

T ** CreateHandle ( T value,
Isolate isolate 
)
inlinestatic

Definition at line 132 of file handles-inl.h.

References ASSERT, Isolate::handle_scope_data(), and T.

Referenced by HandleScope::CreateHandle(), and Handle< T >::Handle().

Address current_level_address ( )
static

Definition at line 115 of file handles.cc.

Address current_limit_address ( )
static

Definition at line 127 of file handles.cc.

Address current_next_address ( )
static

Definition at line 121 of file handles.cc.

void DeleteExtensions ( Isolate isolate)
static
Isolate* isolate ( )
inline

Definition at line 142 of file handles.h.

Referenced by HandleScope::HandleScope(), and HandleScope::NumberOfHandles().

Friends And Related Function Documentation

friend class v8::HandleScope
friend

Definition at line 164 of file handles.h.

friend class v8::ImplementationUtilities
friend

Definition at line 166 of file handles.h.

friend class v8::internal::DeferredHandles
friend

Definition at line 163 of file handles.h.

Definition at line 165 of file handles.h.

friend class v8::internal::Isolate
friend

Definition at line 167 of file handles.h.


The documentation for this class was generated from the following files: