v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
int | match (Handle< Value > value) |
Static Public Member Functions | |
static Local< TypeSwitch > | New (Handle< FunctionTemplate > type) |
static Local< TypeSwitch > | New (int argc, Handle< FunctionTemplate > types[]) |
A utility for determining the type of objects based on the template they were constructed from.
int match | ( | v8::Handle< Value > | value | ) |
Definition at line 1030 of file api.cc.
References FixedArray::cast(), FunctionTemplateInfo::cast(), FixedArray::get(), FixedArrayBase::length(), LOG_API, and v8::internal::USE().
Referenced by THREADED_TEST().
|
static |
Definition at line 1007 of file api.cc.
Referenced by THREADED_TEST().
|
static |
Definition at line 1013 of file api.cc.
References Handle< T >::cast(), ENTER_V8, Isolate::factory(), LOG_API, Factory::NewFixedArray(), Factory::NewStruct(), Utils::ToLocal(), and v8::internal::TYPE_SWITCH_INFO_TYPE.