v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
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< Value > | Get (Local< String > key) |
virtual v8::Handle< Value > | Set (Local< String > key, Local< Value > value) |
virtual v8::Handle< Integer > | Query (Local< String > key) |
void | InitializeIfNeeded () |
virtual void | PostInitializeContext (Handle< Context > context) |
virtual Local< ObjectTemplate > | GetHolder (Local< FunctionTemplate > function) |
Static Protected Member Functions | |
static v8::Handle< Value > | HandleGet (Local< String > key, const AccessorInfo &info) |
static v8::Handle< Value > | HandleSet (Local< String > key, Local< Value > value, const AccessorInfo &info) |
static v8::Handle< Integer > | HandleQuery (Local< String > key, const AccessorInfo &info) |
Definition at line 49 of file test-decls.cc.
Definition at line 108 of file test-decls.cc.
|
inlinevirtual |
Definition at line 53 of file test-decls.cc.
void Check | ( | const char * | source, |
int | get, | ||
int | set, | ||
int | has, | ||
Expectations | expectations, | ||
v8::Handle< Value > | value = Local<Value>() |
||
) |
Definition at line 131 of file test-decls.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), EXPECT_ERROR, EXPECT_EXCEPTION, EXPECT_RESULT, get_count(), TryCatch::HasCaught(), HEAP, InitializeIfNeeded(), Handle< T >::IsEmpty(), v8::internal::NEW_SPACE, query_count(), Script::Run(), set_count(), and TryCatch::SetVerbose().
Referenced by TEST().
|
protectedvirtual |
Definition at line 197 of file test-decls.cc.
Referenced by HandleGet().
|
inline |
Definition at line 65 of file test-decls.cc.
Referenced by Check().
|
inlineprotectedvirtual |
Reimplemented in ExistsInHiddenPrototypeContext, AbsentInPrototypeContext, and ExistsInPrototypeContext.
Definition at line 82 of file test-decls.cc.
Referenced by InitializeIfNeeded().
|
staticprotected |
|
staticprotected |
Definition at line 184 of file test-decls.cc.
References Query().
Referenced by InitializeIfNeeded().
|
staticprotected |
|
protected |
Definition at line 114 of file test-decls.cc.
References GetHolder(), HandleGet(), HandleQuery(), HandleSet(), and PostInitializeContext().
Referenced by Check().
Reimplemented in ExistsInHiddenPrototypeContext.
Definition at line 78 of file test-decls.cc.
Referenced by InitializeIfNeeded().
|
protectedvirtual |
Reimplemented in ExistsInHiddenPrototypeContext, AbsentInPrototypeContext, ExistsInPrototypeContext, ReappearingPropertyContext, AppearingPropertyContext, AbsentPropertyContext, and PresentPropertyContext.
Definition at line 208 of file test-decls.cc.
Referenced by HandleQuery().
|
inline |
Definition at line 67 of file test-decls.cc.
Referenced by Check().
Definition at line 202 of file test-decls.cc.
Referenced by HandleSet().
|
inline |
Definition at line 66 of file test-decls.cc.
Referenced by Check().