Function rustc_expand::mbe::macro_parser::parse_tt [−][src]
pub(super) fn parse_tt(
parser: &mut Cow<'_, Parser<'_>>,
ms: &[TokenTree],
macro_name: Ident
) -> ParseResult<FxHashMap<MacroRulesNormalizedIdent, NamedMatch>>
Expand description
Use the given sequence of token trees (ms
) as a matcher. Match the token
stream from the given parser
against it and return the match.