static enum Token.Type extends java.lang.Enum<Token.Type>
| Enum Constant and Description |
|---|
COMMENT
Token is a comment line.
|
EOF
Token (which can have content) when the end of file is reached.
|
EORECORD
Token with content when the end of a line is reached.
|
INVALID
Token has no valid content, i.e.
|
TOKEN
Token with content, at beginning or in the middle of a line.
|
| Modifier and Type | Method and Description |
|---|---|
static Token.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Type INVALID
public static final Token.Type TOKEN
public static final Token.Type EOF
public static final Token.Type EORECORD
public static final Token.Type COMMENT
public static Token.Type[] values()
for (Token.Type c : Token.Type.values()) System.out.println(c);
public static Token.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null