Enum KeySymbol
- java.lang.Object
-
- java.lang.Enum<KeySymbol>
-
- io.github.haibiiin.json.repair.antlr.KeySymbol
-
- All Implemented Interfaces:
Serializable,Comparable<KeySymbol>
public enum KeySymbol extends Enum<KeySymbol>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String>obj()Stringval()static List<String>value()static KeySymbolvalueOf(String name)Returns the enum constant of this type with the specified name.static KeySymbol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
L_BRACE
public static final KeySymbol L_BRACE
-
R_BRACE
public static final KeySymbol R_BRACE
-
L_BRACKET
public static final KeySymbol L_BRACKET
-
R_BRACKET
public static final KeySymbol R_BRACKET
-
COMMA
public static final KeySymbol COMMA
-
COLON
public static final KeySymbol COLON
-
STRING
public static final KeySymbol STRING
-
NUMBER
public static final KeySymbol NUMBER
-
TRUE
public static final KeySymbol TRUE
-
FALSE
public static final KeySymbol FALSE
-
NULL
public static final KeySymbol NULL
-
EOF
public static final KeySymbol EOF
-
TOKEN
public static final KeySymbol TOKEN
-
-
Method Detail
-
values
public static KeySymbol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeySymbol c : KeySymbol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeySymbol valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
val
public String val()
-
-