v8  3.14.5(node0.10.28)
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 void PostInitializeContext (Handle< Context > context)
 
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 49 of file test-decls.cc.

Constructor & Destructor Documentation

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

virtual ~DeclarationContext ( )
inlinevirtual

Definition at line 53 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 197 of file test-decls.cc.

Referenced by HandleGet().

int get_count ( ) const
inline

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

Referenced by Check().

virtual Local<ObjectTemplate> GetHolder ( Local< FunctionTemplate function)
inlineprotectedvirtual
v8::Handle< Value > HandleGet ( Local< String key,
const AccessorInfo info 
)
staticprotected

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

References Get().

Referenced by InitializeIfNeeded().

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

Definition at line 184 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 175 of file test-decls.cc.

References Set().

Referenced by InitializeIfNeeded().

void InitializeIfNeeded ( )
protected

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

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

Referenced by Check().

virtual void PostInitializeContext ( Handle< Context context)
inlineprotectedvirtual

Reimplemented in ExistsInHiddenPrototypeContext.

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

Referenced by InitializeIfNeeded().

int query_count ( ) const
inline

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

Referenced by Check().

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

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

Referenced by HandleSet().

int set_count ( ) const
inline

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

Referenced by Check().


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