V8 Project
|
A utility for determining the type of objects based on the template they were constructed from. More...
#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[]) |
Private Member Functions | |
TypeSwitch () | |
A utility for determining the type of objects based on the template they were constructed from.
|
private |
int v8::TypeSwitch::match | ( | v8::Handle< Value > | value | ) |
Definition at line 1086 of file api.cc.
References v8::internal::FixedArray::get(), v8::internal::FixedArrayBase::length(), LOG_API, v8::Utils::OpenHandle(), and USE().
|
static |
Definition at line 1064 of file api.cc.
|
static |
Definition at line 1070 of file api.cc.
References v8::internal::Handle< T >::cast(), ENTER_V8, v8::internal::Isolate::factory(), LOG_API, v8::Utils::OpenHandle(), v8::Utils::ToLocal(), and v8::internal::TYPE_SWITCH_INFO_TYPE.