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.
privateconstructor()
Fields
Static methods
isEof
Checks if a character is an EOF.
staticbool isEof(int value)
- value: int - value to check
- returns: bool - validation result
isEol
Checks if a character is an EOL.
staticbool isEol(int value)
- value: int - value to check
- returns: bool - validation result
isDigit
Checks if a character is a digit.
staticbool isDigit(int value)
- value: int - value to check
- returns: bool - validation result