Package eu.bandm.tools.d2d2.base
Enum Class MemScanner.TokenType
- All Implemented Interfaces:
Serializable
,Comparable<MemScanner.TokenType>
,java.lang.constant.Constable
- Enclosing class:
- MemScanner
Non-overlapping Categories of the recognized tokens.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA parenthesis chracater which has previously activated by an open parenthesis character.A slash character which is neither start of a comment nor of a triple-slash sequenceThe currently valid command-lead-in character.A single line comment (including its terminatign line feed) or a multi-line comment decoded.Physically the end of the contained character data reached.An identifier, as used for definition names and input tags.A sequemce of three slashes.A hexadecimal numeric representation of a character.All other (maximal) sequences of characters.Longest sequence of blank characters, tabs, and line feed consumed. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemScanner.TokenType
Returns the enum constant of this class with the specified name.static MemScanner.TokenType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eoinput
Physically the end of the contained character data reached. -
whitespace
Longest sequence of blank characters, tabs, and line feed consumed. -
comment
A single line comment (including its terminatign line feed) or a multi-line comment decoded. -
commandchar
The currently valid command-lead-in character. This is a category with dynamically changing extension. -
ident
An identifier, as used for definition names and input tags. -
numeric
A hexadecimal numeric representation of a character. Corresponds to the maximal sequence starting withChars.charset_numeric_initial
followed by arbitrary manyChars.charset_numeric_initial_or_subsequent
.The first character must be a decimal one, thus hex numbers can be preceded by zeros for the use as a tag, as in
#0a123
". -
closeLeadIn
A slash character which is neither start of a comment nor of a triple-slash sequence -
incompleteClose
A sequemce of three slashes. Forces the end-of-input to an element contents which is intentionally (and provisionally) left incomplete. -
closeChar
A parenthesis chracater which has previously activated by an open parenthesis character. This is a category with dynamically changing extension. -
otherchars
All other (maximal) sequences of characters. (Also sequences of too many hex digits.) This is a category with dynamically changing extension.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-