public enum EcmaScriptComplianceLevel extends Enum<EcmaScriptComplianceLevel> implements Comparable<EcmaScriptComplianceLevel>
| Enum Constant and Description |
|---|
ES3
EcmaScript 3.
|
ES5
EcmaScript 5.
|
ES6
EcmaScript 6.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
higherThan(EcmaScriptComplianceLevel other)
Compares two compliance levels.
|
static EcmaScriptComplianceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EcmaScriptComplianceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final EcmaScriptComplianceLevel ES3
public static final EcmaScriptComplianceLevel ES5
public static final EcmaScriptComplianceLevel ES6
public static EcmaScriptComplianceLevel[] values()
for (EcmaScriptComplianceLevel c : EcmaScriptComplianceLevel.values()) System.out.println(c);
public static EcmaScriptComplianceLevel 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 boolean higherThan(EcmaScriptComplianceLevel other)