public static enum PolyglotBuiltins.Polyglot extends Enum<PolyglotBuiltins.Polyglot> implements BuiltinEnum<PolyglotBuiltins.Polyglot>
Enum.EnumDesc<E extends Enum<E>>| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
static PolyglotBuiltins.Polyglot |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolyglotBuiltins.Polyglot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfargs, asEnum, createNode, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isGetter, isNewTargetConstructor, isSetter, isWritable, prependAccessorPrefix, stripNamepublic static final PolyglotBuiltins.Polyglot export
public static final PolyglotBuiltins.Polyglot import_
public static final PolyglotBuiltins.Polyglot eval
public static PolyglotBuiltins.Polyglot[] values()
public static PolyglotBuiltins.Polyglot valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getLength()
getLength in interface BuiltinEnum<PolyglotBuiltins.Polyglot>