(&self)
| 321 | } |
| 322 | |
| 323 | fn missing_node_range(&self) -> TextRange { |
| 324 | // TODO(dhruvmanila): This range depends on whether the missing node is |
| 325 | // on the leftmost or the rightmost of the expression. It's incorrect for |
| 326 | // the leftmost missing node because the range is outside the expression |
| 327 | // range. For example, |
| 328 | // |
| 329 | // ```python |
| 330 | // value = ** y |
| 331 | // # ^^^^ expression range |
| 332 | // # ^ last token end |
| 333 | // ``` |
| 334 | TextRange::empty(self.prev_token_end) |
| 335 | } |
| 336 | |
| 337 | /// Moves the parser to the next token. |
| 338 | fn do_bump(&mut self, kind: TokenKind) { |
no test coverage detected