v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Symbol Class Reference

#include <v8.h>

Inheritance diagram for Symbol:
Collaboration diagram for Symbol:

Public Member Functions

Local< ValueName () 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< BooleanToBoolean () const
 
Local< NumberToNumber () const
 
Local< StringToString () const
 
Local< StringToDetailString () const
 
Local< ObjectToObject () const
 
Local< IntegerToInteger () const
 
Local< Uint32ToUint32 () const
 
Local< Int32ToInt32 () const
 
Local< Uint32ToArrayIndex () 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 >
ValueCast (T *value)
 

Static Public Member Functions

static Local< SymbolNew (Isolate *isolate, Local< String > name=Local< String >())
 
static Local< SymbolFor (Isolate *isolate, Local< String > name)
 
static Local< SymbolForApi (Isolate *isolate, Local< String > name)
 
static V8_INLINE SymbolCast (v8::Value *obj)
 
- Static Public Member Functions inherited from Value
template<class T >
static V8_INLINE ValueCast (T *value)
 

Detailed Description

A JavaScript symbol (ECMA-262 edition 6)

This is an experimental feature. Use at your own risk.

Definition at line 2000 of file v8.h.

Member Function Documentation

Symbol * Cast ( v8::Value obj)
static

Definition at line 6287 of file v8.h.

Referenced by THREADED_TEST().

Local< Value > Name ( ) const

Definition at line 4833 of file api.cc.

References name, Utils::OpenHandle(), and Utils::ToLocal().

Referenced by THREADED_TEST().

Local< Symbol > New ( Isolate isolate,
Local< String name = Local<String>() 
)
static

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