Package com.igormaznitsa.jcp.expression
Enum ExpressionParser.ParserState
java.lang.Object
java.lang.Enum<ExpressionParser.ParserState>
com.igormaznitsa.jcp.expression.ExpressionParser.ParserState
- All Implemented Interfaces:
Serializable
,Comparable<ExpressionParser.ParserState>
- Enclosing class:
ExpressionParser
The enumeration describes inside states of the parses
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionParser.ParserState
Returns the enum constant of this type with the specified name.static ExpressionParser.ParserState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WAIT
-
NUMBER
-
HEX_NUMBER
-
FLOAT_NUMBER
-
STRING
-
SPECIAL_CHAR
-
VALUE_OR_FUNCTION
-
OPERATOR
-
-
Constructor Details
-
ParserState
private ParserState()
-
-
Method Details
-
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
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
-