(&mut self, _can_assign: bool)
| 1685 | } |
| 1686 | |
| 1687 | fn binary(&mut self, _can_assign: bool) -> Option<Expr<'gc>> { |
| 1688 | let operator = self.previous; |
| 1689 | let rule = get_rule(operator.kind); |
| 1690 | let left = Box::new(self.previous_expr.take()?); |
| 1691 | let right = Box::new(self.parse_precedence(rule.precedence + 1)?); |
| 1692 | |
| 1693 | Some(Expr::Binary { |
| 1694 | left, |
| 1695 | operator, |
| 1696 | right, |
| 1697 | line: operator.line, |
| 1698 | }) |
| 1699 | } |
| 1700 | |
| 1701 | fn and(&mut self, _can_assign: bool) -> Option<Expr<'gc>> { |
| 1702 | let left = Box::new(self.previous_expr.take()?); |
nothing calls this directly
no test coverage detected