|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TokenType>
ch.akuhn.fame.parser.TokenType
public enum TokenType
A token type.
| Enum Constant Summary | |
|---|---|
BOOLEAN
|
|
CLOSE
|
|
EOF
|
|
ID
|
|
KEYWORD
|
|
NAME
|
|
NUMBER
|
|
OPEN
|
|
REF
|
|
STRING
|
|
UNDEFINED
|
|
| Method Summary | |
|---|---|
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TokenType BOOLEAN
public static final TokenType CLOSE
public static final TokenType KEYWORD
public static final TokenType EOF
public static final TokenType NAME
public static final TokenType NUMBER
public static final TokenType OPEN
public static final TokenType ID
public static final TokenType REF
public static final TokenType STRING
public static final TokenType UNDEFINED
| Method Detail |
|---|
public static final TokenType[] values()
for(TokenType c : TokenType.values())
System.out.println(c);
public static 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 name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||