(&mut self)
| 493 | } |
| 494 | |
| 495 | fn bump_complex(&mut self) -> (f64, f64) { |
| 496 | let text = self.current_token_text(); |
| 497 | let value = f64::from_str(&strip_underscores(&text[..text.len() - 1])) |
| 498 | .expect("lexer validated complex literal"); |
| 499 | self.bump(TokenKind::Complex); |
| 500 | (0.0, value) |
| 501 | } |
| 502 | |
| 503 | fn bump_string_value(&mut self) -> &'src str { |
| 504 | let range = self.current_token_range(); |
no test coverage detected