v8  3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
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 1938 of file v8.h.

Member Function Documentation

◆ Cast()

Symbol * Cast ( v8::Value obj)
static

Definition at line 6341 of file v8.h.

◆ For()

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

◆ ForApi()

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

◆ Name()

Local<Value> Name ( ) const

◆ New()

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

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