static enum TrafCOD.ParserState extends Enum<TrafCOD.ParserState>
Enum Constant and Description |
---|
FIND_ASSIGN
Looking for an assignment operator.
|
FIND_EXPR
Looking for an expression.
|
FIND_LHS
Looking for the left hand side of an assignment.
|
FIND_RHS
Looking for the right hand side of an assignment.
|
MAY_UMINUS
Looking for an optional unary minus.
|
Modifier and Type | Method and Description |
---|---|
static TrafCOD.ParserState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafCOD.ParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafCOD.ParserState FIND_LHS
public static final TrafCOD.ParserState FIND_ASSIGN
public static final TrafCOD.ParserState FIND_RHS
public static final TrafCOD.ParserState MAY_UMINUS
public static final TrafCOD.ParserState FIND_EXPR
public static TrafCOD.ParserState[] values()
for (TrafCOD.ParserState c : TrafCOD.ParserState.values()) System.out.println(c);
public static TrafCOD.ParserState 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 © 2014–2016 Delft University of Technology. All rights reserved.