(&mut self)
| 564 | } |
| 565 | |
| 566 | fn parse_missing_identifier(&mut self) -> ast::Identifier { |
| 567 | self.add_error( |
| 568 | ParseErrorType::OtherError("Expected an identifier".into()), |
| 569 | self.current_token_range(), |
| 570 | ); |
| 571 | |
| 572 | ast::Identifier { |
| 573 | id: Name::empty(), |
| 574 | range: self.missing_node_range(), |
| 575 | node_index: AtomicNodeIndex::NONE, |
| 576 | } |
| 577 | } |
| 578 | |
| 579 | /// Parses an atom and any following calls, subscripts, or attributes. |
| 580 | /// |
no test coverage detected