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

#include <cctest.h>

Public Member Functions

 LocalContext (v8::Isolate *isolate, v8::ExtensionConfiguration *extensions=0, v8::Handle< v8::ObjectTemplate > global_template=v8::Handle< v8::ObjectTemplate >(), v8::Handle< v8::Value > global_object=v8::Handle< v8::Value >())
 
 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 243 of file cctest.h.

Constructor & Destructor Documentation

LocalContext ( v8::Isolate isolate,
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 245 of file cctest.h.

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 253 of file cctest.h.

References CcTest::isolate().

virtual ~LocalContext ( )
inlinevirtual

Definition at line 260 of file cctest.h.

References Local< T >::New(), and PersistentBase< T >::Reset().

Member Function Documentation

bool IsReady ( )
inline

Definition at line 270 of file cctest.h.

References PersistentBase< T >::IsEmpty().

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

Definition at line 272 of file cctest.h.

References Local< T >::New().

Referenced by TEST(), THREADED_TEST(), and TypedArrayTestHelper().

v8::Context* operator* ( )
inline

Definition at line 269 of file cctest.h.

References operator->().

v8::Context* operator-> ( )
inline

Definition at line 266 of file cctest.h.

Referenced by operator*().


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