public static enum Utilities.TokenType extends java.lang.Enum<Utilities.TokenType>
Enum Constant and Description |
---|
Double |
Int |
Long |
Nil |
Record |
String |
Modifier and Type | Method and Description |
---|---|
static Utilities.TokenType |
getInstance(int value) |
int |
getValue() |
static Utilities.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Utilities.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utilities.TokenType String
public static final Utilities.TokenType Int
public static final Utilities.TokenType Double
public static final Utilities.TokenType Long
public static final Utilities.TokenType Nil
public static final Utilities.TokenType Record
public static Utilities.TokenType[] values()
for (Utilities.TokenType c : Utilities.TokenType.values()) System.out.println(c);
public static Utilities.TokenType 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 static Utilities.TokenType getInstance(int value)
public int getValue()