(&self)
| 368 | } |
| 369 | |
| 370 | fn missing_node_range(&self) -> TextRange { |
| 371 | // TODO(dhruvmanila): This range depends on whether the missing node is |
| 372 | // on the leftmost or the rightmost of the expression. It's incorrect for |
| 373 | // the leftmost missing node because the range is outside the expression |
| 374 | // range. For example, |
| 375 | // |
| 376 | // ```python |
| 377 | // value = ** y |
| 378 | // # ^^^^ expression range |
| 379 | // # ^ last token end |
| 380 | // ``` |
| 381 | TextRange::empty(self.prev_token_end) |
| 382 | } |
| 383 | |
| 384 | /// Moves the parser to the next token. |
| 385 | fn do_bump(&mut self, kind: TokenKind) { |
no test coverage detected