Package nl.rrd.wool.expressions
Enum Token.Type
- java.lang.Object
-
- java.lang.Enum<Token.Type>
-
- nl.rrd.wool.expressions.Token.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Token.Type>,java.lang.constant.Constable
- Enclosing class:
- Token
public static enum Token.Type extends Enum<Token.Type>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDANDASSIGNBOOLEANBRACE_CLOSEBRACE_OPENBRACKET_CLOSEBRACKET_OPENCOLONCOMMADIVIDEDOLLAR_VARIABLEDOTEQUALGREATER_EQUALGREATER_THANINLESS_EQUALLESS_THANMULTIPLYNAMENOTNOT_EQUALNOT_STRICT_EQUALNULLNUMBERORPARENTHESIS_CLOSEPARENTHESIS_OPENSTRICT_EQUALSTRINGSUBTRACT
-
Method Summary
Modifier and Type Method Description static Token.TypevalueOf(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.
-
-
-
Enum Constant Detail
-
ASSIGN
public static final Token.Type ASSIGN
-
OR
public static final Token.Type OR
-
AND
public static final Token.Type AND
-
NOT
public static final Token.Type NOT
-
IN
public static final Token.Type IN
-
LESS_THAN
public static final Token.Type LESS_THAN
-
LESS_EQUAL
public static final Token.Type LESS_EQUAL
-
EQUAL
public static final Token.Type EQUAL
-
NOT_EQUAL
public static final Token.Type NOT_EQUAL
-
STRICT_EQUAL
public static final Token.Type STRICT_EQUAL
-
NOT_STRICT_EQUAL
public static final Token.Type NOT_STRICT_EQUAL
-
GREATER_EQUAL
public static final Token.Type GREATER_EQUAL
-
GREATER_THAN
public static final Token.Type GREATER_THAN
-
ADD
public static final Token.Type ADD
-
SUBTRACT
public static final Token.Type SUBTRACT
-
MULTIPLY
public static final Token.Type MULTIPLY
-
DIVIDE
public static final Token.Type DIVIDE
-
DOT
public static final Token.Type DOT
-
BRACKET_OPEN
public static final Token.Type BRACKET_OPEN
-
BRACKET_CLOSE
public static final Token.Type BRACKET_CLOSE
-
PARENTHESIS_OPEN
public static final Token.Type PARENTHESIS_OPEN
-
PARENTHESIS_CLOSE
public static final Token.Type PARENTHESIS_CLOSE
-
BRACE_OPEN
public static final Token.Type BRACE_OPEN
-
BRACE_CLOSE
public static final Token.Type BRACE_CLOSE
-
COMMA
public static final Token.Type COMMA
-
COLON
public static final Token.Type COLON
-
STRING
public static final Token.Type STRING
-
BOOLEAN
public static final Token.Type BOOLEAN
-
NUMBER
public static final Token.Type NUMBER
-
NULL
public static final Token.Type NULL
-
NAME
public static final Token.Type NAME
-
DOLLAR_VARIABLE
public static final Token.Type DOLLAR_VARIABLE
-
-
Method Detail
-
values
public static Token.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Token.Type valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-