(&mut self)
| 4443 | } |
| 4444 | |
| 4445 | fn parse_create_secret(&mut self) -> Result<Statement<Raw>, ParserError> { |
| 4446 | self.expect_keyword(SECRET)?; |
| 4447 | let if_not_exists = self.parse_if_not_exists()?; |
| 4448 | let name = self.parse_item_name()?; |
| 4449 | self.expect_keyword(AS)?; |
| 4450 | let value = self.parse_expr()?; |
| 4451 | Ok(Statement::CreateSecret(CreateSecretStatement { |
| 4452 | name, |
| 4453 | if_not_exists, |
| 4454 | value, |
| 4455 | })) |
| 4456 | } |
| 4457 | |
| 4458 | fn parse_create_type(&mut self) -> Result<Statement<Raw>, ParserError> { |
| 4459 | self.expect_keyword(TYPE)?; |
no test coverage detected