fn expect_punctuation2(&mut self, c1: char, c2: char) -> ParseResult<()> {
        if !self.is_punctuation(c1) {
            expected!(self, Punctuation2(c1, c2));
        }
        self.bump_raw();
        if !self.is_punctuation(c2) {
            expected!(self, Punctuation2(c1, c2));
        }
        self.bump();
        Ok(())
    }
/// Consumes a number of tokens if they match the
/// given punctuation pair, otherwise it returns an error.
Consumes a number of tokens if they match the
given punctuation pair, otherwise it returns an error.
Consumes a number of tokens if they match the given punctuation pair otherwise it returns an error .
fn expect_punctuation2(&mut self, c1: char, c2: char) -> ParseResult<()> {
        if !self.is_punctuation(c1) {
            expected!(self, Punctuation2(c1, c2));
        }
        self.bump_raw();
        if !self.is_punctuation(c2) {
            expected!(self, Punctuation2(c1, c2));
        }
        self.bump();
        Ok(())
    }
fn expect_punctuation2 ( & mut self , c1 : char , c2 : char ) -> ParseResult < ( ) > { if ! self . is_punctuation ( c1 ) { expected ! ( self Punctuation2 ( c1 c2 ) ) ; } self . bump_raw ( ) ; if ! self . is_punctuation ( c2 ) { expected ! ( self Punctuation2 ( c1 c2 ) ) ; } self . bump ( ) ; Ok ( ( ) ) }
Consumes a number of tokens if they match the
given punctuation pair, otherwise it returns an error.
Consumes a number of tokens if they match the given punctuation pair otherwise it returns an error .
&mut self
c1
char
c2
char
&mut self
c1
char
c2
char