Parse `UP TO`, if present
(&mut self)
| 8706 | |
| 8707 | /// Parse `UP TO`, if present |
| 8708 | fn parse_optional_up_to(&mut self) -> Result<Option<Expr<Raw>>, ParserError> { |
| 8709 | if self.parse_keyword(UP) { |
| 8710 | self.expect_keyword(TO)?; |
| 8711 | self.parse_expr().map(Some) |
| 8712 | } else { |
| 8713 | Ok(None) |
| 8714 | } |
| 8715 | } |
| 8716 | |
| 8717 | /// Parse `AS OF`, if present. |
| 8718 | /// |
no test coverage detected