Annotation: discard tokens up to `=`; Edge Python is dynamically typed. Returns true when an assignment follows. */
(&mut self)
| 335 | |
| 336 | /* Annotation: discard tokens up to `=`; Edge Python is dynamically typed. Returns true when an assignment follows. */ |
| 337 | fn skip_annotation(&mut self) -> bool { |
| 338 | while !matches!( |
| 339 | self.peek(), |
| 340 | Some(TokenType::Equal | TokenType::Dedent | TokenType::Endmarker) | None |
| 341 | ) { |
| 342 | self.advance(); |
| 343 | } |
| 344 | matches!(self.peek(), Some(TokenType::Equal)) |
| 345 | } |
| 346 | |
| 347 | /* Decodes a just-emitted `[a, b, ...]` display into bare target names; None unless every element is a plain name load. */ |
| 348 | fn list_display_targets(&self, start: usize) -> Option<Vec<String>> { |