Function rustc_expand::mbe::macro_parser::nameize [−][src]
fn nameize<I: Iterator<Item = NamedMatch>>(
sess: &ParseSess,
ms: &[TokenTree],
res: I
) -> ParseResult<FxHashMap<MacroRulesNormalizedIdent, NamedMatch>>
Expand description
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
.