parse_token_tree

Function parse_token_tree 

Source
fn parse_token_tree<'a>(p: &mut Parser<'a>) -> PResult<'a, TokenStream>
Expand description

Parses a TokenTree consisting either of { /* ... */ } (and strip the braces) or an expression followed by a comma (and strip the comma).