Parse a `REVOKE ROLE` statement, assuming that the `REVOKE` token has already been consumed.
(&mut self)
| 9614 | /// Parse a `REVOKE ROLE` statement, assuming that the `REVOKE` token |
| 9615 | /// has already been consumed. |
| 9616 | fn parse_revoke_role(&mut self) -> Result<Statement<Raw>, ParserError> { |
| 9617 | let role_names = self.parse_comma_separated(Parser::parse_identifier)?; |
| 9618 | self.expect_keyword(FROM)?; |
| 9619 | let member_names = self.parse_comma_separated(Parser::expect_role_specification)?; |
| 9620 | Ok(Statement::RevokeRole(RevokeRoleStatement { |
| 9621 | role_names, |
| 9622 | member_names, |
| 9623 | })) |
| 9624 | } |
| 9625 | |
| 9626 | fn expect_grant_target_specification( |
| 9627 | &mut self, |
no test coverage detected