Package org.mariadb.jdbc.util
Enum ClientParser.LexState
- java.lang.Object
-
- java.lang.Enum<ClientParser.LexState>
-
- org.mariadb.jdbc.util.ClientParser.LexState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientParser.LexState>
- Enclosing class:
- ClientParser
static enum ClientParser.LexState extends java.lang.Enum<ClientParser.LexState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Backtick
EOLComment
Escape
Normal
SlashStarComment
String
-
Constructor Summary
Constructors Modifier Constructor Description private
LexState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientParser.LexState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientParser.LexState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final ClientParser.LexState Normal
-
String
public static final ClientParser.LexState String
-
SlashStarComment
public static final ClientParser.LexState SlashStarComment
-
Escape
public static final ClientParser.LexState Escape
-
EOLComment
public static final ClientParser.LexState EOLComment
-
Backtick
public static final ClientParser.LexState Backtick
-
-
Method Detail
-
values
public static ClientParser.LexState[] 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 (ClientParser.LexState c : ClientParser.LexState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientParser.LexState 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
-
-