v8
3.11.10(node0.8.26)
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 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 48 of file test-decls.cc.
Definition at line 104 of file test-decls.cc.
|
inlinevirtual |
Definition at line 52 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 126 of file test-decls.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), EXPECT_EXCEPTION, EXPECT_RESULT, get_count(), TryCatch::HasCaught(), HEAP, InitializeIfNeeded(), Handle< T >::IsEmpty(), v8::internal::NEW_SPACE, query_count(), set_count(), and TryCatch::SetVerbose().
Referenced by TEST().
|
protectedvirtual |
Definition at line 186 of file test-decls.cc.
Referenced by HandleGet().
|
inline |
Definition at line 64 of file test-decls.cc.
Referenced by Check().
|
inlineprotectedvirtual |
Reimplemented in AbsentInPrototypeContext, and ExistsInPrototypeContext.
Definition at line 77 of file test-decls.cc.
Referenced by InitializeIfNeeded().
|
staticprotected |
|
staticprotected |
Definition at line 173 of file test-decls.cc.
References Query().
Referenced by InitializeIfNeeded().
|
staticprotected |
|
protected |
Definition at line 110 of file test-decls.cc.
References GetHolder(), HandleGet(), HandleQuery(), and HandleSet().
Referenced by Check().
|
protectedvirtual |
Reimplemented in AbsentInPrototypeContext, ExistsInPrototypeContext, ReappearingPropertyContext, AppearingPropertyContext, AbsentPropertyContext, and PresentPropertyContext.
Definition at line 197 of file test-decls.cc.
Referenced by HandleQuery().
|
inline |
Definition at line 66 of file test-decls.cc.
Referenced by Check().
Definition at line 191 of file test-decls.cc.
Referenced by HandleSet().
|
inline |
Definition at line 65 of file test-decls.cc.
Referenced by Check().