public static enum EcmascriptParserOptions.Version extends java.lang.Enum<EcmascriptParserOptions.Version>
Enum Constant | Description |
---|---|
VERSION_1_0 |
|
VERSION_1_1 |
|
VERSION_1_2 |
|
VERSION_1_3 |
|
VERSION_1_4 |
|
VERSION_1_5 |
|
VERSION_1_6 |
|
VERSION_1_7 |
|
VERSION_1_8 |
|
VERSION_DEFAULT |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLabel() |
|
int |
getVersion() |
|
static EcmascriptParserOptions.Version |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EcmascriptParserOptions.Version[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EcmascriptParserOptions.Version VERSION_DEFAULT
public static final EcmascriptParserOptions.Version VERSION_1_0
public static final EcmascriptParserOptions.Version VERSION_1_1
public static final EcmascriptParserOptions.Version VERSION_1_2
public static final EcmascriptParserOptions.Version VERSION_1_3
public static final EcmascriptParserOptions.Version VERSION_1_4
public static final EcmascriptParserOptions.Version VERSION_1_5
public static final EcmascriptParserOptions.Version VERSION_1_6
public static final EcmascriptParserOptions.Version VERSION_1_7
public static final EcmascriptParserOptions.Version VERSION_1_8
public static EcmascriptParserOptions.Version[] values()
for (EcmascriptParserOptions.Version c : EcmascriptParserOptions.Version.values()) System.out.println(c);
public static EcmascriptParserOptions.Version valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
public int getVersion()
Copyright © 2002–2018 PMD. All rights reserved.