pub(crate) fn advance(
        &self,
        p: &mut Parser<'_>,
    ) -> Result<(ast::Token, Option<ast::Token>), ParseError> {
        Ok(match self {
            Self::IsNot => (p.next()?, Some(p.next()?)),
            _ => (p.next()?, None),
        })
    }
/// Get how many tokens to advance for this operator.
Get how many tokens to advance for this operator.
Get how many tokens to advance for this operator .
pub(crate) fn advance(
        &self,
        p: &mut Parser<'_>,
    ) -> Result<(ast::Token, Option<ast::Token>), ParseError> {
        Ok(match self {
            Self::IsNot => (p.next()?, Some(p.next()?)),
            _ => (p.next()?, None),
        })
    }
pub ( crate ) fn advance ( & self , p : & mut Parser < ' _ > , ) -> Result < ( ast :: Token , Option < ast :: Token > ) , ParseError > { Ok ( match self { Self :: IsNot => ( p . next ( ) ? , Some ( p . next ( ) ? ) ) , _ => ( p . next ( ) ? , None ) , } ) }
Get how many tokens to advance for this operator.
Get how many tokens to advance for this operator .
&self
p
&mut Parser<'_>
&self
p
&mut Parser<'_>