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

#include <cctest.h>

Public Member Functions

 LocalContext (v8::ExtensionConfiguration *extensions=0, v8::Handle< v8::ObjectTemplate > global_template=v8::Handle< v8::ObjectTemplate >(), v8::Handle< v8::Value > global_object=v8::Handle< v8::Value >())
 
virtual ~LocalContext ()
 
v8::Contextoperator-> ()
 
v8::Contextoperator* ()
 
bool IsReady ()
 
v8::Local< v8::Contextlocal ()
 

Detailed Description

Definition at line 168 of file cctest.h.

Constructor & Destructor Documentation

LocalContext ( v8::ExtensionConfiguration extensions = 0,
v8::Handle< v8::ObjectTemplate global_template = v8::Handle<v8::ObjectTemplate>(),
v8::Handle< v8::Value global_object = v8::Handle<v8::Value>() 
)
inline

Definition at line 170 of file cctest.h.

virtual ~LocalContext ( )
inlinevirtual

Definition at line 178 of file cctest.h.

References Persistent< T >::Dispose().

Member Function Documentation

bool IsReady ( )
inline

Definition at line 185 of file cctest.h.

References Handle< T >::IsEmpty().

v8::Local<v8::Context> local ( )
inline

Definition at line 187 of file cctest.h.

References Local< T >::New().

Referenced by TEST(), and THREADED_TEST().

v8::Context* operator* ( )
inline

Definition at line 184 of file cctest.h.

v8::Context* operator-> ( )
inline

Definition at line 183 of file cctest.h.


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