fn parse_range(
        p: &mut Parser<'_>,
        attributes: Vec<ast::Attribute>,
        from: Option<Self>,
        limits: ast::ExprRangeLimits,
    ) -> Result<Self, ParseError> {
        let to = if Self::peek(p.peeker()) {
            Some(Self::parse_with(
                p,
                EagerBrace(true),
                EagerBinary(true),
                Callable(true),
            )?)
        } else {
            None
        };

        Ok(Self::Range(Box::new(ast::ExprRange {
            attributes,
            from,
            limits,
            to,
        })))
    }
/// Parse the tail-end of a range.
Parse the tail-end of a range.
Parse the tail - end of a range .
fn parse_range(
        p: &mut Parser<'_>,
        attributes: Vec<ast::Attribute>,
        from: Option<Self>,
        limits: ast::ExprRangeLimits,
    ) -> Result<Self, ParseError> {
        let to = if Self::peek(p.peeker()) {
            Some(Self::parse_with(
                p,
                EagerBrace(true),
                EagerBinary(true),
                Callable(true),
            )?)
        } else {
            None
        };
        Ok(Self::Range(Box::new(ast::ExprRange {
            attributes,
            from,
            limits,
            to,
        })))
    }
fn parse_range ( p : & mut Parser < ' _ > , attributes : Vec < ast :: Attribute > , from : Option < Self > , limits : ast :: ExprRangeLimits , ) -> Result < Self , ParseError > { let to = if Self :: peek ( p . peeker ( ) ) { Some ( Self :: parse_with ( p , EagerBrace ( true ) , EagerBinary ( true ) , Callable ( true ) , ) ? ) } else { None } ; Ok ( Self :: Range ( Box :: new ( ast :: ExprRange { attributes , from , limits , to , } ) ) ) }
Parse the tail-end of a range.
Parse the tail - end of a range .
p
&mut Parser<'_>
attributes
Vec<ast::Attribute>
from
Option<Self>
limits
ast::ExprRangeLimits
p
&mut Parser<'_>
attributes
Vec<ast::Attribute>
from
Option<Self>
limits
ast::ExprRangeLimits