(&mut self)
| 150 | } |
| 151 | |
| 152 | pub fn parse_expr_no_struct(&mut self) -> Expr { |
| 153 | self.expr_bp( |
| 154 | 0, |
| 155 | Restrictions { |
| 156 | structs_allowed: false, |
| 157 | }, |
| 158 | ) |
| 159 | } |
| 160 | |
| 161 | // Algorithm stolen from matklad :) |
| 162 | // https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html |
no test coverage detected