Type representing different number formats that can be parsed
Source position: fpexprpars.pp line 57
type TNumberKind = ( |
||
nkDecimal, |
|
Decimal number format (base 10) |
nkHex, |
|
Hexadecimal number format (base 16) |
nkOctal, |
|
Octal number format (base 8) |
nkBinary |
|
Binary number format (base 2) |
); |
This enumeration defines the different numerical base formats that the expression scanner can recognize and parse when tokenizing numeric literals in expressions.
The scanner can handle numbers in various bases commonly used in programming and mathematical contexts, allowing expressions to contain numbers in the most convenient format for the specific use case.
Each kind represents a different base system with its own parsing rules and digit validation requirements during the scanning process.