Lines Matching refs:TokenTree
2 use proc_macro::{token_stream, Delimiter, Ident, Span, TokenTree};
25 Some(TokenTree::Punct(punct)) => punct.as_char() != '>', in parse()
29 TokenTree::Ident(ident) => { in parse()
36 Some(TokenTree::Punct(punct)) => punct.as_char() == '!', in parse()
43 Some(TokenTree::Group(group)) in parse()
59 Some(TokenTree::Literal(lit)) => lit, in parse()
98 TokenTree::Literal(lit) => { in parse()
104 TokenTree::Punct(punct) => match punct.as_char() { in parse()
114 Some(TokenTree::Ident(ident)) => ident, in parse()
116 let span = wrong.as_ref().map_or(colon_span, TokenTree::span); in parse()
124 TokenTree::Group(group) => { in parse()