v8  3.11.10(node0.8.26)
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::HandleScope
 
class v8::ImplementationUtilities
 

Detailed Description

Definition at line 110 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 138 of file handles.h.

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

Friends And Related Function Documentation

friend class v8::HandleScope
friend

Definition at line 159 of file handles.h.

friend class v8::ImplementationUtilities
friend

Definition at line 160 of file handles.h.


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