(&self)
| 341 | } |
| 342 | |
| 343 | fn missing_node_range(&self) -> TextRange { |
| 344 | // TODO(dhruvmanila): This range depends on whether the missing node is |
| 345 | // on the leftmost or the rightmost of the expression. It's incorrect for |
| 346 | // the leftmost missing node because the range is outside the expression |
| 347 | // range. For example, |
| 348 | // |
| 349 | // ```python |
| 350 | // value = ** y |
| 351 | // # ^^^^ expression range |
| 352 | // # ^ last token end |
| 353 | // ``` |
| 354 | TextRange::empty(self.prev_token_end) |
| 355 | } |
| 356 | |
| 357 | /// Moves the parser to the next token. |
| 358 | fn do_bump(&mut self, kind: TokenKind) { |
no test coverage detected