static enum TrafCOD.Token extends Enum<TrafCOD.Token>
Enum Constant and Description |
---|
ASSIGNMENT
Assignment rule.
|
CLOSE_PAREN
Closing parenthesis.
|
CONSTANT
Integer follows.
|
END
True if following variable has just ended.
|
END_RULE
End rule.
|
EQ
Equals to (=).
|
EQUALS_RULE
Equals rule.
|
GT
Greater than (>).
|
GTEQ
Greater than or equal to (>=).
|
INIT_TIMER
Timer initialize rule.
|
LE
Less than (<).
|
LEEQ
Less than or equal to (<=).
|
MINUS
Subtraction operator.
|
NEG_EQUALS_RULE
Not equals rule.
|
NEG_VARIABLE
Variable that follows must be logically negated.
|
NOTEQ
Not equal to (!=).
|
OPEN_PAREN
Opening parenthesis.
|
PLUS
Addition operator.
|
REINIT_TIMER
Timer re-initialize rule.
|
START
True if following variable has just started.
|
START_RULE
Start rule.
|
TIMES
Multiplication operator.
|
UNARY_MINUS
Unary minus operator.
|
VARIABLE
Variable follows.
|
Modifier and Type | Method and Description |
---|---|
static TrafCOD.Token |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafCOD.Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafCOD.Token EQUALS_RULE
public static final TrafCOD.Token NEG_EQUALS_RULE
public static final TrafCOD.Token ASSIGNMENT
public static final TrafCOD.Token START_RULE
public static final TrafCOD.Token END_RULE
public static final TrafCOD.Token INIT_TIMER
public static final TrafCOD.Token REINIT_TIMER
public static final TrafCOD.Token UNARY_MINUS
public static final TrafCOD.Token LEEQ
public static final TrafCOD.Token NOTEQ
public static final TrafCOD.Token LE
public static final TrafCOD.Token GTEQ
public static final TrafCOD.Token GT
public static final TrafCOD.Token EQ
public static final TrafCOD.Token START
public static final TrafCOD.Token END
public static final TrafCOD.Token VARIABLE
public static final TrafCOD.Token NEG_VARIABLE
public static final TrafCOD.Token CONSTANT
public static final TrafCOD.Token PLUS
public static final TrafCOD.Token MINUS
public static final TrafCOD.Token TIMES
public static final TrafCOD.Token OPEN_PAREN
public static final TrafCOD.Token CLOSE_PAREN
public static TrafCOD.Token[] values()
for (TrafCOD.Token c : TrafCOD.Token.values()) System.out.println(c);
public static TrafCOD.Token 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.