[−][src]Function rustc_expand::mbe::macro_parser::inner_parse_loop

pub(in mbe::macro_parser) fn inner_parse_loop<'root, 'tt>(
    cur_items: &mut SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
    next_items: &mut Vec<MatcherPosHandle<'root, 'tt>>,
    eof_items: &mut SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
    bb_items: &mut SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
    token: &Token
) -> ParseResult<()>

Process the matcher positions of cur_items until it is empty. In the process, this will produce more items in next_items, eof_items, and bb_items.

For more info about the how this happens, see the module-level doc comments and the inline comments of this function.

Parameters

Returns

A ParseResult. Note that matches are kept track of through the items generated.