public enum LiteralKind extends Enum<LiteralKind>
Enum Constant and Description |
---|
BOOLEAN
Boolean literal.
|
CHAR
Character literal.
|
DOUBLE
Double precision floating point number literal.
|
FLOAT
Single precision floating point number literal.
|
INT
32bit integer literal.
|
LONG
64bit integer literal.
|
NULL
null literal. |
STRING
Character string literal.
|
Modifier and Type | Field and Description |
---|---|
static String |
TOKEN_FALSE
The token image of
false literal. |
static String |
TOKEN_NULL
The token image of
null literal. |
static String |
TOKEN_TRUE
The token image of
true literal. |
Modifier and Type | Method and Description |
---|---|
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 INT
public static final LiteralKind LONG
public static final LiteralKind FLOAT
public static final LiteralKind DOUBLE
public static final LiteralKind CHAR
public static final LiteralKind BOOLEAN
public static final LiteralKind STRING
public static final LiteralKind NULL
null
literal.public static final String TOKEN_NULL
null
literal.public static final String TOKEN_TRUE
true
literal.public static final String TOKEN_FALSE
false
literal.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 nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.