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

pub(in mbe::macro_parser) fn nameize<I: Iterator<Item = NamedMatch>>(
    sess: &ParseSess,
    ms: &[TokenTree],
    res: I
) -> ParseResult<FxHashMap<MacroRulesNormalizedIdent, NamedMatch>>

Takes a sequence of token trees ms representing a matcher which successfully matched input and an iterator of items that matched input and produces a NamedParseResult.