Serializable
, Comparable<PRTokeniser.TokenType>
public static enum PRTokeniser.TokenType extends Enum<PRTokeniser.TokenType>
Enum Constant | Description |
---|---|
COMMENT |
|
END_ARRAY |
|
END_DIC |
|
ENDOFFILE |
|
NAME |
|
NUMBER |
|
OTHER |
|
REF |
|
START_ARRAY |
|
START_DIC |
|
STRING |
Modifier and Type | Method | Description |
---|---|---|
static PRTokeniser.TokenType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PRTokeniser.TokenType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PRTokeniser.TokenType NUMBER
public static final PRTokeniser.TokenType STRING
public static final PRTokeniser.TokenType NAME
public static final PRTokeniser.TokenType COMMENT
public static final PRTokeniser.TokenType START_ARRAY
public static final PRTokeniser.TokenType END_ARRAY
public static final PRTokeniser.TokenType START_DIC
public static final PRTokeniser.TokenType END_DIC
public static final PRTokeniser.TokenType REF
public static final PRTokeniser.TokenType OTHER
public static final PRTokeniser.TokenType ENDOFFILE
public static PRTokeniser.TokenType[] values()
for (PRTokeniser.TokenType c : PRTokeniser.TokenType.values()) System.out.println(c);
public static PRTokeniser.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. All rights reserved.