Validates characters that are processed by tokenizers.
Description
The CharValidator class allows you to validate characters that are processed by tokenizers.
Constructors
Creates a new instance of this class.
private
constructor()
Fields
Static methods
isEof
Checks if a character is an EOF.
static
bool isEof(int value)
- value: int - value to check
- returns: bool - validation result
isEol
Checks if a character is an EOL.
static
bool isEol(int value)
- value: int - value to check
- returns: bool - validation result
isDigit
Checks if a character is a digit.
static
bool isDigit(int value)
- value: int - value to check
- returns: bool - validation result