(&mut self)
| 466 | } |
| 467 | |
| 468 | fn bump_complex(&mut self) -> (f64, f64) { |
| 469 | let text = self.current_token_text(); |
| 470 | let value = f64::from_str(&strip_underscores(&text[..text.len() - 1])) |
| 471 | .expect("lexer validated complex literal"); |
| 472 | self.bump(TokenKind::Complex); |
| 473 | (0.0, value) |
| 474 | } |
| 475 | |
| 476 | fn bump_string_value(&mut self) -> &'src str { |
| 477 | let range = self.current_token_range(); |
no test coverage detected