v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
bool BooleanValue | ( | ) | const |
Definition at line 2540 of file api.cc.
References ENTER_V8, LOG_API, and Execution::ToBoolean().
Referenced by TEST(), and THREADED_TEST().
JS ==
Definition at line 2684 of file api.cc.
References ARRAY_SIZE, ENTER_V8, v8::internal::EQUAL, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, Smi::FromInt(), and LOG_API.
Referenced by CheckEqualsHelper(), CheckNonEqualsHelper(), TraceExtension::GetNativeFunction(), ProfilerExtension::GetNativeFunction(), TEST(), and THREADED_TEST().
int32_t Int32Value | ( | ) | const |
Definition at line 2662 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Execution::ToInt32(), and Smi::value().
Referenced by JSObject::GetPropertyAttributeWithInterceptor(), TEST(), and THREADED_TEST().
int64_t IntegerValue | ( | ) | const |
Definition at line 2575 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Execution::ToInteger(), and Smi::value().
bool IsArray | ( | ) | const |
bool IsBoolean | ( | ) | const |
bool IsBooleanObject | ( | ) | const |
Returns true if this value is a Boolean object.
Definition at line 2298 of file api.cc.
References Isolate::heap().
Referenced by THREADED_TEST().
bool IsDate | ( | ) | const |
Returns true if this value is a Date.
Definition at line 2239 of file api.cc.
References Isolate::heap().
Referenced by THREADED_TEST().
bool IsExternal | ( | ) | const |
bool IsFalse | ( | ) | const |
Returns true if this value is false.
Definition at line 2149 of file api.cc.
Referenced by THREADED_TEST().
bool IsFunction | ( | ) | const |
Returns true if this value is a function.
Definition at line 2155 of file api.cc.
Referenced by JsHttpRequestProcessor::Initialize(), and RunCppCycle().
bool IsInt32 | ( | ) | const |
Returns true if this value is a 32-bit signed integer.
Definition at line 2205 of file api.cc.
References DoubleRepresentation::bits, v8::internal::FastD2I(), and v8::internal::FastI2D().
Referenced by JSObject::GetPropertyAttributeWithInterceptor(), JSObject::HasElementWithInterceptor(), and THREADED_TEST().
bool IsNativeError | ( | ) | const |
Returns true if this value is a NativeError.
Definition at line 2279 of file api.cc.
References JSObject::cast().
Referenced by THREADED_TEST().
|
inline |
Returns true if this value is the null value. See ECMA-262 4.3.11.
Definition at line 4490 of file v8.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
bool IsNumber | ( | ) | const |
Returns true if this value is a number.
Definition at line 2183 of file api.cc.
Referenced by TEST(), and THREADED_TEST().
bool IsNumberObject | ( | ) | const |
Returns true if this value is a Number object.
Definition at line 2255 of file api.cc.
References Isolate::heap().
Referenced by THREADED_TEST().
bool IsObject | ( | ) | const |
Returns true if this value is an object.
Definition at line 2177 of file api.cc.
Referenced by TEST(), and THREADED_TEST().
bool IsRegExp | ( | ) | const |
|
inline |
Returns true if this value is an instance of the String type. See ECMA-262 8.4.
Definition at line 4508 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 2247 of file api.cc.
References Isolate::heap().
Referenced by THREADED_TEST().
bool IsTrue | ( | ) | const |
Returns true if this value is true.
Definition at line 2143 of file api.cc.
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 2222 of file api.cc.
References DoubleRepresentation::bits, Smi::cast(), v8::internal::FastD2UI(), v8::internal::FastUI2D(), and Smi::value().
|
inline |
Returns true if this value is the undefined value. See ECMA-262 4.3.10.
Definition at line 4472 of file v8.h.
Referenced by ExecuteString(), Shell::ExecuteString(), Shell::System(), TEST(), and THREADED_TEST().
double NumberValue | ( | ) | const |
Definition at line 2555 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, OS::nan_value(), and Execution::ToNumber().
Referenced by THREADED_TEST().
Definition at line 2711 of file api.cc.
References String::cast(), String::Equals(), isnan(), and LOG_API.
Referenced by THREADED_TEST().
Attempts to convert a string to an array index. Returns an empty handle if the conversion fails.
Definition at line 2633 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(), Execution::ToString(), Utils::Uint32ToLocal(), and Smi::value().
Referenced by THREADED_TEST().
Definition at line 2373 of file api.cc.
References ENTER_V8, LOG_API, and Execution::ToBoolean().
Definition at line 2333 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToDetailString().
Definition at line 2597 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToInt32().
Referenced by TEST().
Definition at line 2410 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToInteger().
Definition at line 2390 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToNumber().
Referenced by TEST().
Local< v8::Object > ToObject | ( | ) | const |
Definition at line 2353 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToObject().
Referenced by Shell::ArrayBufferSlice(), v8::internal::RUNTIME_FUNCTION(), and TEST().
Definition at line 2313 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToString().
Referenced by String::AsciiValue::AsciiValue(), TEST(), THREADED_TEST(), String::Utf8Value::Utf8Value(), and String::Value::Value().
Definition at line 2615 of file api.cc.
References ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, and Execution::ToUint32().
uint32_t Uint32Value | ( | ) | const |
Definition at line 2743 of file api.cc.
References Smi::cast(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, LOG_API, Execution::ToUint32(), and Smi::value().
Referenced by THREADED_TEST().