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
DeclarationContext Class Reference
Inheritance diagram for DeclarationContext:

Public Member Functions

 DeclarationContext ()
 
virtual ~DeclarationContext ()
 
void Check (const char *source, int get, int set, int has, Expectations expectations, v8::Handle< Value > value=Local< Value >())
 
int get_count () const
 
int set_count () const
 
int query_count () const
 

Protected Member Functions

virtual v8::Handle< ValueGet (Local< String > key)
 
virtual v8::Handle< ValueSet (Local< String > key, Local< Value > value)
 
virtual v8::Handle< IntegerQuery (Local< String > key)
 
void InitializeIfNeeded ()
 
virtual Local< ObjectTemplateGetHolder (Local< FunctionTemplate > function)
 

Static Protected Member Functions

static v8::Handle< ValueHandleGet (Local< String > key, const AccessorInfo &info)
 
static v8::Handle< ValueHandleSet (Local< String > key, Local< Value > value, const AccessorInfo &info)
 
static v8::Handle< IntegerHandleQuery (Local< String > key, const AccessorInfo &info)
 

Detailed Description

Definition at line 48 of file test-decls.cc.

Constructor & Destructor Documentation

Definition at line 104 of file test-decls.cc.

virtual ~DeclarationContext ( )
inlinevirtual

Definition at line 52 of file test-decls.cc.

Member Function Documentation

void Check ( const char *  source,
int  get,
int  set,
int  has,
Expectations  expectations,
v8::Handle< Value value = Local<Value>() 
)
v8::Handle< Value > Get ( Local< String key)
protectedvirtual

Definition at line 186 of file test-decls.cc.

Referenced by HandleGet().

int get_count ( ) const
inline

Definition at line 64 of file test-decls.cc.

Referenced by Check().

virtual Local<ObjectTemplate> GetHolder ( Local< FunctionTemplate function)
inlineprotectedvirtual

Reimplemented in AbsentInPrototypeContext, and ExistsInPrototypeContext.

Definition at line 77 of file test-decls.cc.

Referenced by InitializeIfNeeded().

v8::Handle< Value > HandleGet ( Local< String key,
const AccessorInfo info 
)
staticprotected

Definition at line 156 of file test-decls.cc.

References Get().

Referenced by InitializeIfNeeded().

v8::Handle< Integer > HandleQuery ( Local< String key,
const AccessorInfo info 
)
staticprotected

Definition at line 173 of file test-decls.cc.

References Query().

Referenced by InitializeIfNeeded().

v8::Handle< Value > HandleSet ( Local< String key,
Local< Value value,
const AccessorInfo info 
)
staticprotected

Definition at line 164 of file test-decls.cc.

References Set().

Referenced by InitializeIfNeeded().

void InitializeIfNeeded ( )
protected

Definition at line 110 of file test-decls.cc.

References GetHolder(), HandleGet(), HandleQuery(), and HandleSet().

Referenced by Check().

int query_count ( ) const
inline

Definition at line 66 of file test-decls.cc.

Referenced by Check().

v8::Handle< Value > Set ( Local< String key,
Local< Value value 
)
protectedvirtual

Definition at line 191 of file test-decls.cc.

Referenced by HandleSet().

int set_count ( ) const
inline

Definition at line 65 of file test-decls.cc.

Referenced by Check().


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