| Enum Constant and Description |
|---|
BOOLEAN |
FUNCTION |
LEGACY_RECUR_FUNCTION |
NIL |
NUMBER |
RECUR_FUNCTION |
STRING |
TABLE |
TORCH |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static TorchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TorchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static TorchType |
valueToType(int value) |
public static final TorchType NIL
public static final TorchType NUMBER
public static final TorchType STRING
public static final TorchType TABLE
public static final TorchType TORCH
public static final TorchType BOOLEAN
public static final TorchType FUNCTION
public static final TorchType RECUR_FUNCTION
public static final TorchType LEGACY_RECUR_FUNCTION
public static TorchType[] values()
for (TorchType c : TorchType.values()) System.out.println(c);
public static TorchType 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 TorchType valueToType(int value)
public int getValue()