v8  3.11.10(node0.8.28)
V8 is Google's open source JavaScript engine
Value Class Reference

#include <v8.h>

Inheritance diagram for Value:
Collaboration diagram for Value:

Public Member Functions

bool IsUndefined () const
 
bool IsNull () const
 
V8EXPORT bool IsTrue () const
 
V8EXPORT bool IsFalse () const
 
bool IsString () const
 
V8EXPORT bool IsFunction () const
 
V8EXPORT bool IsArray () const
 
V8EXPORT bool IsObject () const
 
V8EXPORT bool IsBoolean () const
 
V8EXPORT bool IsNumber () const
 
V8EXPORT bool IsExternal () const
 
V8EXPORT bool IsInt32 () const
 
V8EXPORT bool IsUint32 () const
 
V8EXPORT bool IsDate () const
 
V8EXPORT bool IsBooleanObject () const
 
V8EXPORT bool IsNumberObject () const
 
V8EXPORT bool IsStringObject () const
 
V8EXPORT bool IsNativeError () const
 
V8EXPORT bool IsRegExp () const
 
V8EXPORT Local< BooleanToBoolean () const
 
V8EXPORT Local< NumberToNumber () const
 
V8EXPORT Local< StringToString () const
 
V8EXPORT Local< StringToDetailString () const
 
V8EXPORT Local< ObjectToObject () const
 
V8EXPORT Local< IntegerToInteger () const
 
V8EXPORT Local< Uint32ToUint32 () const
 
V8EXPORT Local< Int32ToInt32 () const
 
V8EXPORT Local< Uint32ToArrayIndex () const
 
V8EXPORT bool BooleanValue () const
 
V8EXPORT double NumberValue () const
 
V8EXPORT int64_t IntegerValue () const
 
V8EXPORT uint32_t Uint32Value () const
 
V8EXPORT int32_t Int32Value () const
 
V8EXPORT bool Equals (Handle< Value > that) const
 
V8EXPORT bool StrictEquals (Handle< Value > that) const
 

Detailed Description

The superclass of all JavaScript values and objects.

Definition at line 863 of file v8.h.

Member Function Documentation

V8EXPORT bool BooleanValue ( ) const
V8EXPORT bool Equals ( Handle< Value that) const

JS ==

V8EXPORT int32_t Int32Value ( ) const
V8EXPORT int64_t IntegerValue ( ) const
V8EXPORT bool IsArray ( ) const

Returns true if this value is an array.

V8EXPORT bool IsBoolean ( ) const

Returns true if this value is boolean.

V8EXPORT bool IsBooleanObject ( ) const

Returns true if this value is a Boolean object.

V8EXPORT bool IsDate ( ) const

Returns true if this value is a Date.

V8EXPORT bool IsExternal ( ) const

Returns true if this value is external.

V8EXPORT bool IsFalse ( ) const

Returns true if this value is false.

V8EXPORT bool IsFunction ( ) const

Returns true if this value is a function.

V8EXPORT bool IsInt32 ( ) const

Returns true if this value is a 32-bit signed integer.

V8EXPORT bool IsNativeError ( ) const

Returns true if this value is a NativeError.

bool IsNull ( ) const
inline

Returns true if this value is the null value. See ECMA-262 4.3.11.

Definition at line 4295 of file v8.h.

V8EXPORT bool IsNumber ( ) const

Returns true if this value is a number.

V8EXPORT bool IsNumberObject ( ) const

Returns true if this value is a Number object.

V8EXPORT bool IsObject ( ) const

Returns true if this value is an object.

V8EXPORT bool IsRegExp ( ) const

Returns true if this value is a RegExp.

bool IsString ( ) const
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.

V8EXPORT bool IsStringObject ( ) const

Returns true if this value is a String object.

V8EXPORT bool IsTrue ( ) const

Returns true if this value is true.

V8EXPORT bool IsUint32 ( ) const

Returns true if this value is a 32-bit unsigned integer.

bool IsUndefined ( ) const
inline

Returns true if this value is the undefined value. See ECMA-262 4.3.10.

Definition at line 4277 of file v8.h.

V8EXPORT double NumberValue ( ) const
V8EXPORT bool StrictEquals ( Handle< Value that) const
V8EXPORT Local<Uint32> ToArrayIndex ( ) const

Attempts to convert a string to an array index. Returns an empty handle if the conversion fails.

V8EXPORT Local<Boolean> ToBoolean ( ) const
V8EXPORT Local<String> ToDetailString ( ) const
V8EXPORT Local<Int32> ToInt32 ( ) const
V8EXPORT Local<Integer> ToInteger ( ) const
V8EXPORT Local<Number> ToNumber ( ) const
V8EXPORT Local<Object> ToObject ( ) const
V8EXPORT Local<String> ToString ( ) const
V8EXPORT Local<Uint32> ToUint32 ( ) const
V8EXPORT uint32_t Uint32Value ( ) const

The documentation for this class was generated from the following file: