elemental2.core.Symbol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elemental2-core Show documentation
Show all versions of elemental2-core Show documentation
Thin Java abstractions for the standard built-in objects for Javascript.
package elemental2.core;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Symbol {
@JsOverlay public static final Object asyncIterator = Symbol__Constants.asyncIterator;
@JsOverlay public static final Object iterator = Symbol__Constants.iterator;
@JsOverlay public static final Object toStringTag = Symbol__Constants.toStringTag;
@JsOverlay public static final Object unscopables = Symbol__Constants.unscopables;
@JsMethod(name = "for")
public static native Object for_(String sym);
public static native String keyFor(Object sym);
public String description;
public Symbol() {}
public Symbol(Object description) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy