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
HandleScopeImplementer Class Reference

#include <api.h>

Public Member Functions

 HandleScopeImplementer (Isolate *isolate)
 
 ~HandleScopeImplementer ()
 
char * RestoreThread (char *from)
 
char * ArchiveThread (char *to)
 
void FreeThreadResources ()
 
void Iterate (v8::internal::ObjectVisitor *v)
 
internal::Object ** GetSpareOrNewBlock ()
 
void DeleteExtensions (internal::Object **prev_limit)
 
void IncrementCallDepth ()
 
void DecrementCallDepth ()
 
bool CallDepthIsZero ()
 
void EnterContext (Handle< Object > context)
 
bool LeaveLastContext ()
 
Handle< ObjectLastEnteredContext ()
 
void SaveContext (Context *context)
 
ContextRestoreContext ()
 
bool HasSavedContexts ()
 
List< internal::Object ** > * blocks ()
 

Static Public Member Functions

static int ArchiveSpacePerThread ()
 
static char * Iterate (v8::internal::ObjectVisitor *v, char *data)
 

Detailed Description

Definition at line 404 of file api.h.

Constructor & Destructor Documentation

HandleScopeImplementer ( Isolate isolate)
inlineexplicit

Definition at line 406 of file api.h.

Definition at line 414 of file api.h.

References v8::internal::DeleteArray().

Member Function Documentation

int ArchiveSpacePerThread ( )
static

Definition at line 6364 of file api.cc.

Referenced by ThreadManager::IterateArchivedThreads().

char * ArchiveThread ( char *  to)

Definition at line 6351 of file api.cc.

bool CallDepthIsZero ( )
inline

Definition at line 434 of file api.h.

Referenced by V8::FireCallCompletedCallback().

void DecrementCallDepth ( )
inline

Definition at line 433 of file api.h.

Referenced by V8::FireCallCompletedCallback().

void DeleteExtensions ( internal::Object **  prev_limit)
inline
void EnterContext ( Handle< Object context)
inline

Definition at line 509 of file api.h.

Referenced by Context::Enter().

void FreeThreadResources ( )

Definition at line 6346 of file api.cc.

Referenced by ThreadManager::FreeThreadResources().

internal::Object ** GetSpareOrNewBlock ( )
inline

Definition at line 528 of file api.h.

References v8::internal::kHandleBlockSize, and v8::internal::NULL.

bool HasSavedContexts ( )
inline

Definition at line 504 of file api.h.

void IncrementCallDepth ( )
inline

Definition at line 432 of file api.h.

Referenced by V8::FireCallCompletedCallback().

void Iterate ( v8::internal::ObjectVisitor *  v)
static char* Iterate ( v8::internal::ObjectVisitor *  v,
char *  data 
)
static
Handle< Object > LastEnteredContext ( )
inline

Definition at line 521 of file api.h.

Referenced by Context::GetEntered().

bool LeaveLastContext ( )
inline

Definition at line 514 of file api.h.

Referenced by Context::Exit().

Context * RestoreContext ( )
inline

Definition at line 499 of file api.h.

Referenced by Context::Exit().

char * RestoreThread ( char *  from)

Definition at line 6369 of file api.cc.

Referenced by ThreadManager::RestoreThread().

void SaveContext ( Context context)
inline

Definition at line 494 of file api.h.

Referenced by Context::Enter().


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