@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Symbol")
public class Symbol
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Symbol() |
| Modifier and Type | Method and Description |
|---|---|
static Symbol |
_isConcatSpreadable()
The Symbol.isConcatSpreadable well-known symbol is used to configure if an object should be flattened to its array elements when using the Array.prototype.concat() method.
|
static Symbol |
asyncIterator()
The Symbol.asyncIterator well-known symbol specifies the default AsyncIterator for an object.
|
static Symbol |
for_(java.lang.String key) |
static Symbol |
hasInstance()
The Symbol.hasInstance well-known symbol is used to determine if a constructor object recognizes an object as its instance.
|
static Symbol |
iterator()
The well-known Symbol.iterator symbol specifies the default iterator for an object.
|
static java.lang.String |
keyFor(Symbol symbol)
The Symbol.keyFor(sym) method retrieves a shared symbol key from the global symbol registry for the given symbol.
|
static Symbol |
match()
The Symbol.match well-known symbol specifies the matching of a regular expression against a string.
|
static Symbol |
matchAll()
The Symbol.matchAll well-known symbol returns an iterator, that yields matches of the regular expression against a string.
|
static Symbol |
replace()
The Symbol.replace well-known symbol specifies the method that replaces matched substrings of a string.
|
static Symbol |
search()
The Symbol.search well-known symbol specifies the method that returns the index within a string that matches the regular expression.
|
static Symbol |
species()
The well-known symbol Symbol.species specifies a function-valued property that the constructor function uses to create derived objects.
|
static Symbol |
split()
The Symbol.split well-known symbol specifies the method that splits a string at the indices that match a regular expression.
|
static Symbol |
toPrimitive()
The Symbol.toPrimitive is a symbol that specifies a function valued property that is called to convert an object to a corresponding primitive value.
|
java.lang.String |
toString_()
The toString() method returns a string representing the specified Symbol object.
|
static Symbol |
toStringTag()
The Symbol.toStringTag well-known symbol is a string valued property that is used in the creation of the default string description of an object.
|
static Symbol |
unscopables()
The Symbol.unscopables well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
|
@JsProperty(name="asyncIterator") @Nonnull public static Symbol asyncIterator()
@JsProperty(name="hasInstance") @Nonnull public static Symbol hasInstance()
@JsProperty(name="isConcatSpreadable") @Nonnull public static Symbol _isConcatSpreadable()
@JsProperty(name="iterator") @Nonnull public static Symbol iterator()
@JsProperty(name="match") @Nonnull public static Symbol match()
@JsProperty(name="matchAll") @Nonnull public static Symbol matchAll()
@JsProperty(name="replace") @Nonnull public static Symbol replace()
@JsProperty(name="search") @Nonnull public static Symbol search()
@JsProperty(name="species") @Nonnull public static Symbol species()
@JsProperty(name="split") @Nonnull public static Symbol split()
@JsProperty(name="toPrimitive") @Nonnull public static Symbol toPrimitive()
@JsProperty(name="toStringTag") @Nonnull public static Symbol toStringTag()
@JsProperty(name="unscopables") @Nonnull public static Symbol unscopables()
@JsMethod(name="for") @Nonnull public static Symbol for_(@Nonnull java.lang.String key)
@Nonnull
public static java.lang.String keyFor(@Nonnull
Symbol symbol)
@JsMethod(name="toString") @Nonnull public java.lang.String toString_()