(&mut self)
| 493 | } |
| 494 | |
| 495 | fn bump_float(&mut self) -> f64 { |
| 496 | let value = f64::from_str(&strip_underscores(self.current_token_text())) |
| 497 | .expect("lexer validated float literal"); |
| 498 | self.bump(TokenKind::Float); |
| 499 | value |
| 500 | } |
| 501 | |
| 502 | fn bump_complex(&mut self) -> (f64, f64) { |
| 503 | let text = self.current_token_text(); |
no test coverage detected