Parse MATCH REMOVE statement: MATCH pattern... [WITH ...] [WHERE condition] REMOVE item, item
(tokens: &[Token])
| 4011 | |
| 4012 | /// Parse MATCH REMOVE statement: MATCH pattern... [WITH ...] [WHERE condition] REMOVE item, item |
| 4013 | fn match_remove_statement(tokens: &[Token]) -> IResult<&[Token], MatchRemoveStatement> { |
| 4014 | map( |
| 4015 | tuple(( |
| 4016 | match_clause, |
| 4017 | opt(with_clause), |
| 4018 | opt(where_clause), |
| 4019 | expect_token(Token::Remove), |
| 4020 | separated_list1(expect_token(Token::Comma), remove_item), |
| 4021 | )), |
| 4022 | |(match_clause, with_clause_opt, where_clause_opt, _, items)| MatchRemoveStatement { |
| 4023 | match_clause, |
| 4024 | with_clause: with_clause_opt, |
| 4025 | where_clause: where_clause_opt, |
| 4026 | items, |
| 4027 | location: Location::default(), |
| 4028 | }, |
| 4029 | )(tokens) |
| 4030 | } |
| 4031 | |
| 4032 | /// Parse MATCH DELETE statement: MATCH pattern... [WITH ...] [WHERE condition] [DETACH] DELETE expression, expression |
| 4033 | fn match_delete_statement(tokens: &[Token]) -> IResult<&[Token], MatchDeleteStatement> { |
nothing calls this directly
no test coverage detected