paralegal_flow::ann::parse

Function refinements_parser

Source
fn refinements_parser<'a>(
    tcx: TyCtxt<'_>,
    symbols: &Symbols,
    hir_id: HirId,
    i: I<'a>,
    attr_span: Span,
) -> IResult<I<'a>, MarkerRefinement, ErrorTree<I<'a>>>
Expand description

A parser for annotation refinements.

Is not guaranteed to consume the entire input if does not match. You may want to call nom::combinator::eof afterwards to guarantee all input has been consumed.