fn parse_fetch(&mut self) -> Result<Statement<Raw>, ParserError> {
        let _ = self.parse_keyword(FORWARD);
        let count = if let Some(count) = self.maybe_parse(Parser::parse_literal_uint) {
            Some(FetchDirection::ForwardCount(count))
        } else if self.parse_keyword(ALL) {
            Some(FetchDirection::ForwardAll)
        } else {
            None
        };
        let _ = self.parse_keyword(FROM);
        let name = self.parse_identifier()?;
        let options = self.parse_opt_with_options()?;
        Ok(Statement::Fetch(FetchStatement {
            name,
            count,
            options,
        }))
    }
/// Parse a `FETCH` statement, assuming that the `FETCH` token
/// has already been consumed.
Parse a `FETCH` statement, assuming that the `FETCH` token
has already been consumed.
Parse a ` FETCH ` statement assuming that the ` FETCH ` token has already been consumed .
fn parse_fetch(&mut self) -> Result<Statement<Raw>, ParserError> {
        let _ = self.parse_keyword(FORWARD);
        let count = if let Some(count) = self.maybe_parse(Parser::parse_literal_uint) {
            Some(FetchDirection::ForwardCount(count))
        } else if self.parse_keyword(ALL) {
            Some(FetchDirection::ForwardAll)
        } else {
            None
        };
        let _ = self.parse_keyword(FROM);
        let name = self.parse_identifier()?;
        let options = self.parse_opt_with_options()?;
        Ok(Statement::Fetch(FetchStatement {
            name,
            count,
            options,
        }))
    }
fn parse_fetch ( & mut self ) -> Result < Statement < Raw > , ParserError > { let _ = self . parse_keyword ( FORWARD ) ; let count = if let Some ( count ) = self . maybe_parse ( Parser :: parse_literal_uint ) { Some ( FetchDirection :: ForwardCount ( count ) ) } else if self . parse_keyword ( ALL ) { Some ( FetchDirection :: ForwardAll ) } else { None } ; let _ = self . parse_keyword ( FROM ) ; let name = self . parse_identifier ( ) ? ; let options = self . parse_opt_with_options ( ) ? ; Ok ( Statement :: Fetch ( FetchStatement { name , count , options , } ) ) }
Parse a `FETCH` statement, assuming that the `FETCH` token
has already been consumed.
Parse a ` FETCH ` statement assuming that the ` FETCH ` token has already been consumed .
&mut self
&mut self