Package jmri.jmrit.logixng.util.parser
Enum TokenType
- java.lang.Object
-
- java.lang.Enum<TokenType>
-
- jmri.jmrit.logixng.util.parser.TokenType
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenType
valueOf(java.lang.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 are declared.
-
-
-
Enum Constant Detail
-
SAME_AS_LAST
public static final TokenType SAME_AS_LAST
-
ASSIGN_ADD
public static final TokenType ASSIGN_ADD
-
ASSIGN_SUBTRACKT
public static final TokenType ASSIGN_SUBTRACKT
-
ASSIGN_MULTIPLY
public static final TokenType ASSIGN_MULTIPLY
-
ASSIGN_DIVIDE
public static final TokenType ASSIGN_DIVIDE
-
ASSIGN_MODULO
public static final TokenType ASSIGN_MODULO
-
ASSIGN_AND
public static final TokenType ASSIGN_AND
-
ASSIGN_XOR
public static final TokenType ASSIGN_XOR
-
ASSIGN_SHIFT_LEFT
public static final TokenType ASSIGN_SHIFT_LEFT
-
ASSIGN_SHIFT_RIGHT
public static final TokenType ASSIGN_SHIFT_RIGHT
-
ASSIGN_UNSIGNED_SHIFT_RIGHT
public static final TokenType ASSIGN_UNSIGNED_SHIFT_RIGHT
-
TERNARY_QUESTION_MARK
public static final TokenType TERNARY_QUESTION_MARK
-
TERNARY_COLON
public static final TokenType TERNARY_COLON
-
BOOLEAN_OR
public static final TokenType BOOLEAN_OR
-
BOOLEAN_XOR
public static final TokenType BOOLEAN_XOR
-
BOOLEAN_AND
public static final TokenType BOOLEAN_AND
-
BINARY_XOR
public static final TokenType BINARY_XOR
-
BINARY_AND
public static final TokenType BINARY_AND
-
LESS_OR_EQUAL
public static final TokenType LESS_OR_EQUAL
-
GREATER_THAN
public static final TokenType GREATER_THAN
-
GREATER_OR_EQUAL
public static final TokenType GREATER_OR_EQUAL
-
SHIFT_LEFT
public static final TokenType SHIFT_LEFT
-
SHIFT_RIGHT
public static final TokenType SHIFT_RIGHT
-
UNSIGNED_SHIFT_RIGHT
public static final TokenType UNSIGNED_SHIFT_RIGHT
-
BOOLEAN_NOT
public static final TokenType BOOLEAN_NOT
-
BINARY_NOT
public static final TokenType BINARY_NOT
-
LEFT_PARENTHESIS
public static final TokenType LEFT_PARENTHESIS
-
RIGHT_PARENTHESIS
public static final TokenType RIGHT_PARENTHESIS
-
LEFT_SQUARE_BRACKET
public static final TokenType LEFT_SQUARE_BRACKET
-
RIGHT_SQUARE_BRACKET
public static final TokenType RIGHT_SQUARE_BRACKET
-
LEFT_CURLY_BRACKET
public static final TokenType LEFT_CURLY_BRACKET
-
RIGHT_CURLY_BRACKET
public static final TokenType RIGHT_CURLY_BRACKET
-
IDENTIFIER
public static final TokenType IDENTIFIER
-
INTEGER_NUMBER
public static final TokenType INTEGER_NUMBER
-
FLOATING_NUMBER
public static final TokenType FLOATING_NUMBER
-
-
Method Detail
-
values
public static TokenType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TokenType c : TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-