All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.core.Symbol Maven / Gradle / Ivy

There is a newer version: 2.27
Show newest version
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