[−][src]Function rustc_expand::mbe::quoted::parse_tree

pub(in mbe::quoted) fn parse_tree(
    tree: TokenTree,
    outer_trees: &mut impl Iterator<Item = TokenTree>,
    expect_matchers: bool,
    sess: &ParseSess,
    node_id: NodeId
) -> TokenTree

Takes a tokenstream::TokenTree and returns a self::TokenTree. Specifically, this takes a generic TokenTree, such as is used in the rest of the compiler, and returns a TokenTree for use in parsing a macro.

Converting the given tree may involve reading more tokens.

Parameters