(&mut self)
| 503 | } |
| 504 | |
| 505 | fn bump_complex(&mut self) -> (f64, f64) { |
| 506 | let text = self.current_token_text(); |
| 507 | let value = f64::from_str(&strip_underscores(&text[..text.len() - 1])) |
| 508 | .expect("lexer validated complex literal"); |
| 509 | self.bump(TokenKind::Complex); |
| 510 | (0.0, value) |
| 511 | } |
| 512 | |
| 513 | fn bump_string_value(&mut self) -> &'src str { |
| 514 | let range = self.current_token_range(); |
no test coverage detected