/// Get the next NLOQ query from the string
Get the next NLOQ query from the string
Get the next NLOQ query from the string
pub fn next_query(&mut self) -> Result<Vec<Query<'a>>, MatchError> {
        let mut nloq_de = nloq::Deserializer::from_str(self.src);
        let query = nloq_de.query();
        if query.is_empty() {
            Err(MatchError::EmptyQuery)
        } else {
            self.src = nloq_de.rest();
            Ok(query)
        }
    }
pub fn next_query ( & mut self ) -> Result < Vec < Query < ' a > > , MatchError > { let mut nloq_de = nloq :: Deserializer :: from_str ( self . src ) ; let query = nloq_de . query ( ) ; if query . is_empty ( ) { Err ( MatchError :: EmptyQuery ) } else { self . src = nloq_de . rest ( ) ; Ok ( query ) } }
Get the next NLOQ query from the string
Get the next NLOQ query from the string
&mut self