v8
7.8.279 (node 12.19.1)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static Local< Symbol > | New (Isolate *isolate, Local< String > name=Local< String >()) |
static Local< Symbol > | For (Isolate *isolate, Local< String > name) |
static Local< Symbol > | ForApi (Isolate *isolate, Local< String > name) |
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) |
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 names 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.
Create a symbol. If name is not empty, it will be used as the description.