(&mut self)
| 62 | self.scan_while(|b| BYTE_CLASS[b as usize] & ID_CONT != 0); |
| 63 | } |
| 64 | fn scan_digits(&mut self) { |
| 65 | self.scan_while(|b| BYTE_CLASS[b as usize] & DIGIT != 0 || b == b'_'); |
| 66 | } |
| 67 | |
| 68 | /* Underscores must sit between digits: no leading, trailing, or consecutive. Empty body only valid after a decimal dot. */ |
| 69 | fn check_digits(&mut self, start: usize, end: usize, allow_empty: bool) { |
no test coverage detected