v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
int64_t | Value () const |
Public Member Functions inherited from Number | |
double | Value () const |
Public Member Functions inherited from Value | |
V8_INLINE bool | IsUndefined () const |
V8_INLINE bool | IsNull () const |
bool | IsTrue () const |
bool | IsFalse () const |
V8_INLINE bool | IsString () const |
bool | IsSymbol () const |
bool | IsFunction () const |
bool | IsArray () const |
bool | IsObject () const |
bool | IsBoolean () const |
bool | IsNumber () const |
bool | IsExternal () const |
bool | IsInt32 () const |
bool | IsUint32 () const |
bool | IsDate () const |
bool | IsBooleanObject () const |
bool | IsNumberObject () const |
bool | IsStringObject () const |
bool | IsSymbolObject () const |
bool | IsNativeError () const |
bool | IsRegExp () const |
bool | IsPromise () const |
bool | IsArrayBuffer () const |
bool | IsArrayBufferView () const |
bool | IsTypedArray () const |
bool | IsUint8Array () const |
bool | IsUint8ClampedArray () const |
bool | IsInt8Array () const |
bool | IsUint16Array () const |
bool | IsInt16Array () const |
bool | IsUint32Array () const |
bool | IsInt32Array () const |
bool | IsFloat32Array () const |
bool | IsFloat64Array () const |
bool | IsDataView () const |
Local< Boolean > | ToBoolean () const |
Local< Number > | ToNumber () const |
Local< String > | ToString () const |
Local< String > | ToDetailString () const |
Local< Object > | ToObject () const |
Local< Integer > | ToInteger () const |
Local< Uint32 > | ToUint32 () const |
Local< Int32 > | ToInt32 () const |
Local< Uint32 > | ToArrayIndex () const |
bool | BooleanValue () const |
double | NumberValue () const |
int64_t | IntegerValue () const |
uint32_t | Uint32Value () const |
int32_t | Int32Value () const |
bool | Equals (Handle< Value > that) const |
bool | StrictEquals (Handle< Value > that) const |
bool | SameValue (Handle< Value > that) const |
template<class T > | |
Value * | Cast (T *value) |
Static Public Member Functions | |
static Local< Integer > | New (Isolate *isolate, int32_t value) |
static Local< Integer > | NewFromUnsigned (Isolate *isolate, uint32_t value) |
static V8_INLINE Integer * | Cast (v8::Value *obj) |
Static Public Member Functions inherited from Number | |
static Local< Number > | New (Isolate *isolate, double value) |
static V8_INLINE Number * | Cast (v8::Value *obj) |
Static Public Member Functions inherited from Value | |
template<class T > | |
static V8_INLINE Value * | Cast (T *value) |
Definition at line 6233 of file api.cc.
References ASSERT, ENTER_V8, Isolate::factory(), Smi::FromInt(), Utils::IntegerToLocal(), Isolate::IsInitialized(), Smi::IsValid(), and Factory::NewNumber().
Referenced by CheckOwnProperties(), CheckProperties(), FunctionExtension::GetNativeFunctionTemplate(), Function::GetScriptOrigin(), ExecArgs::Init(), Integer::NewFromUnsigned(), ReturnValue< T >::Set(), Template::Set(), Template::SetAccessorProperty(), TerminateOrReturnObject(), TEST(), and THREADED_TEST().
Definition at line 6246 of file api.cc.
References ASSERT, ENTER_V8, Isolate::factory(), Utils::IntegerToLocal(), Isolate::IsInitialized(), Integer::New(), and Factory::NewNumber().
Referenced by ReturnValue< T >::Set(), and THREADED_TEST().
int64_t Value | ( | ) | const |
Definition at line 4857 of file api.cc.
References Smi::cast(), Utils::OpenHandle(), and Smi::value().