(&mut self, left: Expr)
| 571 | } |
| 572 | |
| 573 | fn parse_call_expr(&mut self, left: Expr) -> Option<Expr> { |
| 574 | let args = match self.parse_call_arguments() { |
| 575 | Some(e) => e, |
| 576 | None => return None, |
| 577 | }; |
| 578 | |
| 579 | Some(Expr::Call { |
| 580 | function: Box::new(left), |
| 581 | args, |
| 582 | }) |
| 583 | } |
| 584 | |
| 585 | fn peek_token(&self, t: &Token) -> bool { |
| 586 | self.peek_token == *t |
no test coverage detected