public enum LiteralTokenKind extends Enum<LiteralTokenKind>
Enum Constant and Description |
---|
BOOLEAN
boolean literal.
|
CHAR
character literal.
|
DOUBLE
64bit floating point number literal.
|
FLOAT
32bit floating point number literal.
|
INT
32bit integer literal.
|
LONG
64bit integer literal.
|
NULL
null literal. |
STRING
character string literal.
|
UNKNOWN
Unknown (may be malformed) literal.
|
Modifier and Type | Method and Description |
---|---|
static LiteralTokenKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiteralTokenKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiteralTokenKind INT
public static final LiteralTokenKind LONG
public static final LiteralTokenKind FLOAT
public static final LiteralTokenKind DOUBLE
public static final LiteralTokenKind BOOLEAN
public static final LiteralTokenKind CHAR
public static final LiteralTokenKind STRING
public static final LiteralTokenKind NULL
null
literal.public static final LiteralTokenKind UNKNOWN
public static LiteralTokenKind[] values()
for (LiteralTokenKind c : LiteralTokenKind.values()) System.out.println(c);
public static LiteralTokenKind 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 nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.