public enum LiteralKind extends Enum<LiteralKind>
| Enum Constant and Description |
|---|
BOOLEAN
Represents boolean literals.
|
DECIMAL
Represents decimal literals.
|
INTEGER
Represents integral literals.
|
STRING
Represents string literals.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static LiteralKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiteralKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiteralKind STRING
public static final LiteralKind INTEGER
public static final LiteralKind DECIMAL
public static final LiteralKind BOOLEAN
public static LiteralKind[] values()
for (LiteralKind c : LiteralKind.values()) System.out.println(c);
public static LiteralKind 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 String toString()
toString in class Enum<LiteralKind>Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.