v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static Local< Symbol > | New (Isolate *isolate, Local< String > description=Local< String >()) |
static Local< Symbol > | For (Isolate *isolate, Local< String > description) |
static Local< Symbol > | ForApi (Isolate *isolate, Local< String > description) |
static Local< Symbol > | GetAsyncIterator (Isolate *isolate) |
static Local< Symbol > | GetHasInstance (Isolate *isolate) |
static Local< Symbol > | GetIsConcatSpreadable (Isolate *isolate) |
static Local< Symbol > | GetIterator (Isolate *isolate) |
static Local< Symbol > | GetMatch (Isolate *isolate) |
static Local< Symbol > | GetReplace (Isolate *isolate) |
static Local< Symbol > | GetSearch (Isolate *isolate) |
static Local< Symbol > | GetSplit (Isolate *isolate) |
static Local< Symbol > | GetToPrimitive (Isolate *isolate) |
static Local< Symbol > | GetToStringTag (Isolate *isolate) |
static Local< Symbol > | GetUnscopables (Isolate *isolate) |
static V8_INLINE Symbol * | Cast (Value *obj) |
Static Public Member Functions inherited from Name | |
static V8_INLINE Name * | Cast (Value *obj) |
Static Public Member Functions inherited from Value | |
template<class T > | |
static V8_INLINE Value * | Cast (T *value) |
Returns the description string of the symbol, or undefined if none.
Referenced by Symbol::Name().
Access global symbol registry. Note that symbols created this way are never collected, so they should only be used for statically fixed properties. Also, there is only one global name space for the descriptions used as keys. To minimize the potential for clashes, use qualified names as keys.
Retrieve a global symbol. Similar to |For|, but using a separate registry that is not accessible by (and cannot clash with) JavaScript code.
Definition at line 3403 of file v8.h.
References Symbol::Description().
|
static |
Create a symbol. If description is not empty, it will be used as the description.