Expand description
Integer and float literal scanner.
Consumes a run of digits, checks for a . to decide between
TokenType::NumberLiteral and TokenType::FloatLiteral, and handles
byte literals (0b prefix -> TokenType::ByteLiteral).
Integer and float literal scanner.
Consumes a run of digits, checks for a . to decide between
TokenType::NumberLiteral and TokenType::FloatLiteral, and handles
byte literals (0b prefix -> TokenType::ByteLiteral).