v8  3.25.30(node0.11.13)
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 (Isolate *isolate)
 
 ~HandleScope ()
 
template<typename T >
Handle< TCloseAndEscape (Handle< T > handle_value)
 
Isolateisolate ()
 

Static Public Member Functions

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

Friends

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

Detailed Description

Definition at line 131 of file handles.h.

Constructor & Destructor Documentation

~HandleScope ( )
inline

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

Member Function Documentation

T ** CreateHandle ( Isolate isolate,
T value 
)
inlinestatic
Address current_level_address ( Isolate isolate)
static

Definition at line 112 of file handles.cc.

References Isolate::handle_scope_data(), and HandleScopeData::level.

Address current_limit_address ( Isolate isolate)
static

Definition at line 122 of file handles.cc.

References Isolate::handle_scope_data(), and HandleScopeData::limit.

Address current_next_address ( Isolate isolate)
static

Definition at line 117 of file handles.cc.

References Isolate::handle_scope_data(), and HandleScopeData::next.

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

Definition at line 158 of file handles.h.

Referenced by HandleScope::HandleScope().

Friends And Related Function Documentation

friend class v8::HandleScope
friend

Definition at line 184 of file handles.h.

friend class v8::internal::DeferredHandles
friend

Definition at line 185 of file handles.h.

Definition at line 186 of file handles.h.

friend class v8::internal::Isolate
friend

Definition at line 187 of file handles.h.


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