rustc_expand::mbe::metavar_expr

Function parse_count

Source
fn parse_count<'psess>(
    iter: &mut RefTokenTreeCursor<'_>,
    psess: &'psess ParseSess,
    span: Span,
) -> PResult<'psess, MetaVarExpr>
Expand description

Parse a meta-variable count expression: count(ident[, depth])