TODO: This has precedence over sequence pattern but I'm not sure what is the right way to use it.
(&mut self)
| 957 | // TODO: This has precedence over sequence pattern but I'm not sure |
| 958 | // what is the right way to use it. |
| 959 | fn parse_group_pattern(&mut self) -> Result<MatchPattern, ParsingError> { |
| 960 | self.expect(Kind::LeftParen)?; |
| 961 | let pattern = self.parse_pattern()?; |
| 962 | self.expect(Kind::RightParen)?; |
| 963 | Ok(pattern) |
| 964 | } |
| 965 | |
| 966 | fn parse_mapping_pattern(&mut self) -> Result<MatchPattern, ParsingError> { |
| 967 | let node = self.start_node(); |
nothing calls this directly
no test coverage detected