(&self)
| 781 | } |
| 782 | |
| 783 | fn would_start_unicode_range(&self) -> bool { |
| 784 | // Caller confirmed current byte is U or u. Check next two. |
| 785 | let b1 = self.peek_byte(1); |
| 786 | if b1 != b'+' { |
| 787 | return false; |
| 788 | } |
| 789 | let b2 = self.peek_byte(2); |
| 790 | b2 == b'?' || (b2 as char).is_ascii_hexdigit() |
| 791 | } |
| 792 | |
| 793 | fn consume_unicode_range_token(&mut self) -> Token { |
| 794 | // Step 1: Consume U/u and + |
no test coverage detected