public enum TokenCharacterKind extends Enum<TokenCharacterKind>
Enum Constant and Description |
---|
DIGIT
Enum value digit.
|
LETTER
Enum value letter.
|
PUNCTUATION
Enum value punctuation.
|
SYMBOL
Enum value symbol.
|
WHITESPACE
Enum value whitespace.
|
Modifier and Type | Method and Description |
---|---|
static TokenCharacterKind |
fromString(String value)
Parses a serialized value to a TokenCharacterKind instance.
|
String |
toString() |
static TokenCharacterKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenCharacterKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenCharacterKind LETTER
public static final TokenCharacterKind DIGIT
public static final TokenCharacterKind WHITESPACE
public static final TokenCharacterKind PUNCTUATION
public static final TokenCharacterKind SYMBOL
public static TokenCharacterKind[] values()
public static TokenCharacterKind 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 nullpublic static TokenCharacterKind fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<TokenCharacterKind>
Copyright © 2020 Microsoft Corporation. All rights reserved.