v8
3.25.30(node0.11.13)
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 1127 of file api.cc.
References FixedArray::cast(), FunctionTemplateInfo::cast(), FixedArray::get(), FixedArrayBase::length(), LOG_API, Utils::OpenHandle(), and v8::internal::USE().
Referenced by THREADED_TEST().
|
static |
Definition at line 1104 of file api.cc.
Referenced by THREADED_TEST().
|
static |
Definition at line 1110 of file api.cc.
References Handle< T >::cast(), ENTER_V8, Isolate::factory(), LOG_API, Factory::NewFixedArray(), Factory::NewStruct(), Utils::OpenHandle(), Utils::ToLocal(), and v8::internal::TYPE_SWITCH_INFO_TYPE.