v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
bool BooleanValue | ( | ) | const |
Definition at line 2532 of file api.cc.
References ENTER_V8, LOG_API, Utils::OpenHandle(), and Execution::ToBoolean().
Referenced by TEST(), and THREADED_TEST().
JS ==
Definition at line 2676 of file api.cc.
References ARRAY_SIZE, ENTER_V8, v8::internal::EQUAL, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, Smi::FromInt(), LOG_API, and Utils::OpenHandle().
Referenced by CheckEqualsHelper(), CheckNonEqualsHelper(), TraceExtension::GetNativeFunction(), ProfilerExtension::GetNativeFunction(), FunctionExtension::GetNativeFunction(), TEST(), and THREADED_TEST().
int32_t Int32Value | ( | ) | const |
Definition at line 2654 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), Execution::ToInt32(), and Smi::value().
Referenced by JSObject::GetPropertyAttributeWithInterceptor(), TEST(), and THREADED_TEST().
int64_t IntegerValue | ( | ) | const |
Definition at line 2567 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), Execution::ToInteger(), and Smi::value().
bool IsArray | ( | ) | const |
Returns true if this value is an array.
Definition at line 2163 of file api.cc.
References Utils::OpenHandle().
bool IsBoolean | ( | ) | const |
Returns true if this value is boolean.
Definition at line 2181 of file api.cc.
References Utils::OpenHandle().
bool IsBooleanObject | ( | ) | const |
Returns true if this value is a Boolean object.
Definition at line 2290 of file api.cc.
References Isolate::heap(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
bool IsDate | ( | ) | const |
Returns true if this value is a Date.
Definition at line 2231 of file api.cc.
References Isolate::heap(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
bool IsExternal | ( | ) | const |
Returns true if this value is external.
Definition at line 2189 of file api.cc.
References Utils::OpenHandle().
bool IsFalse | ( | ) | const |
Returns true if this value is false.
Definition at line 2141 of file api.cc.
References Utils::OpenHandle().
Referenced by THREADED_TEST().
bool IsFunction | ( | ) | const |
Returns true if this value is a function.
Definition at line 2147 of file api.cc.
References Utils::OpenHandle().
Referenced by JsHttpRequestProcessor::Initialize(), and RunCppCycle().
bool IsInt32 | ( | ) | const |
Returns true if this value is a 32-bit signed integer.
Definition at line 2197 of file api.cc.
References DoubleRepresentation::bits, v8::internal::FastD2I(), v8::internal::FastI2D(), and Utils::OpenHandle().
Referenced by JSObject::GetPropertyAttributeWithInterceptor(), JSObject::HasElementWithInterceptor(), and THREADED_TEST().
bool IsNativeError | ( | ) | const |
Returns true if this value is a NativeError.
Definition at line 2271 of file api.cc.
References JSObject::cast(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
|
inline |
Returns true if this value is the null value. See ECMA-262 4.3.11.
Definition at line 4295 of file v8.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
bool IsNumber | ( | ) | const |
Returns true if this value is a number.
Definition at line 2175 of file api.cc.
References Utils::OpenHandle().
Referenced by TEST(), and THREADED_TEST().
bool IsNumberObject | ( | ) | const |
Returns true if this value is a Number object.
Definition at line 2247 of file api.cc.
References Isolate::heap(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
bool IsObject | ( | ) | const |
Returns true if this value is an object.
Definition at line 2169 of file api.cc.
References Utils::OpenHandle().
Referenced by TEST(), and THREADED_TEST().
bool IsRegExp | ( | ) | const |
Returns true if this value is a RegExp.
Definition at line 2298 of file api.cc.
References Utils::OpenHandle().
Referenced by TEST().
|
inline |
Returns true if this value is an instance of the String type. See ECMA-262 8.4.
Definition at line 4313 of file v8.h.
Referenced by TEST(), and THREADED_TEST().
bool IsStringObject | ( | ) | const |
Returns true if this value is a String object.
Definition at line 2239 of file api.cc.
References Isolate::heap(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
bool IsTrue | ( | ) | const |
Returns true if this value is true.
Definition at line 2135 of file api.cc.
References Utils::OpenHandle().
Referenced by Object::Delete(), TEST(), and THREADED_TEST().
bool IsUint32 | ( | ) | const |
Returns true if this value is a 32-bit unsigned integer.
Definition at line 2214 of file api.cc.
References DoubleRepresentation::bits, Smi::cast(), v8::internal::FastD2UI(), v8::internal::FastUI2D(), Utils::OpenHandle(), and Smi::value().
|
inline |
Returns true if this value is the undefined value. See ECMA-262 4.3.10.
Definition at line 4277 of file v8.h.
Referenced by ExecuteString(), Shell::ExecuteString(), Shell::System(), TEST(), and THREADED_TEST().
double NumberValue | ( | ) | const |
Definition at line 2547 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, OS::nan_value(), Utils::OpenHandle(), and Execution::ToNumber().
Referenced by THREADED_TEST().
Definition at line 2703 of file api.cc.
References String::cast(), String::Equals(), isnan(), LOG_API, and Utils::OpenHandle().
Referenced by THREADED_TEST().
Attempts to convert a string to an array index. Returns an empty handle if the conversion fails.
Definition at line 2625 of file api.cc.
References Handle< T >::cast(), Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, Isolate::factory(), Smi::FromInt(), Smi::kMaxValue, LOG_API, Factory::NewNumber(), Utils::OpenHandle(), Execution::ToString(), Utils::Uint32ToLocal(), and Smi::value().
Referenced by THREADED_TEST().
Definition at line 2365 of file api.cc.
References ENTER_V8, LOG_API, Utils::OpenHandle(), and Execution::ToBoolean().
Definition at line 2325 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToDetailString().
Definition at line 2589 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToInt32().
Referenced by TEST().
Definition at line 2402 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToInteger().
Definition at line 2382 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToNumber().
Referenced by TEST().
Local< v8::Object > ToObject | ( | ) | const |
Definition at line 2345 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToObject().
Referenced by v8::internal::RUNTIME_FUNCTION(), and TEST().
Definition at line 2305 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToString().
Referenced by String::AsciiValue::AsciiValue(), PrintExtension::Print(), TEST(), THREADED_TEST(), String::Utf8Value::Utf8Value(), and String::Value::Value().
Definition at line 2607 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), and Execution::ToUint32().
uint32_t Uint32Value | ( | ) | const |
Definition at line 2735 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Utils::OpenHandle(), Execution::ToUint32(), and Smi::value().
Referenced by THREADED_TEST().