public static enum JsonScanner.TokenType extends Enum<JsonScanner.TokenType>
Enum Constant and Description |
---|
CXX_COMMENT |
DOUBLE_QUOTE |
END_OF_IGNORABLES |
KEYWORD |
MULTI_LINE_C_COMMENT_BEGINNING |
MULTI_LINE_C_COMMENT_END |
MULTI_LINE_C_COMMENT_MIDDLE |
NUMBER |
OPERATOR |
SINGLE_LINE_C_COMMENT |
SPACE |
STRING_CHARS |
STRING_ESCAPE |
STRING_UNICODE_ESCAPE |
Modifier and Type | Method and Description |
---|---|
static JsonScanner.TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonScanner.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonScanner.TokenType SPACE
public static final JsonScanner.TokenType CXX_COMMENT
public static final JsonScanner.TokenType SINGLE_LINE_C_COMMENT
public static final JsonScanner.TokenType MULTI_LINE_C_COMMENT_BEGINNING
public static final JsonScanner.TokenType MULTI_LINE_C_COMMENT_MIDDLE
public static final JsonScanner.TokenType MULTI_LINE_C_COMMENT_END
public static final JsonScanner.TokenType END_OF_IGNORABLES
public static final JsonScanner.TokenType OPERATOR
public static final JsonScanner.TokenType NUMBER
public static final JsonScanner.TokenType KEYWORD
public static final JsonScanner.TokenType DOUBLE_QUOTE
public static final JsonScanner.TokenType STRING_UNICODE_ESCAPE
public static final JsonScanner.TokenType STRING_ESCAPE
public static final JsonScanner.TokenType STRING_CHARS
public static JsonScanner.TokenType[] values()
for (JsonScanner.TokenType c : JsonScanner.TokenType.values()) System.out.println(c);
public static JsonScanner.TokenType 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 © 2018 Arno Unkrig. All rights reserved.