Home
last modified time | relevance | path

Searched defs:TokenTree (Results 1 – 14 of 14) sorted by relevance

/linux/rust/pin-init/internal/src/
H A Dzeroable.rs12 Vec<TokenTree>, in parse_zeroable_derive_input()
15 Option<TokenTree>, in parse_zeroable_derive_input()
/linux/rust/macros/
H A Dpin_data.rs
H A Dpaste.rs60 fn concat(tokens: &[TokenTree], group_span: Span) -> TokenTree { in concat()
66 pub(crate) fn expand(tokens: &mut Vec<TokenTree>) { in expand()
H A Dquote.rs29 impl ToTokens for TokenTree { implementation
/linux/rust/proc-macro2/
H A Dlib.rs535 pub enum TokenTree { enum
546 impl TokenTree { impl
573 impl From<Group> for TokenTree { implementation
579 impl From<Ident> for TokenTree { implementation
585 impl From<Punct> for TokenTree { implementation
591 impl From<Literal> for TokenTree { implementation
601 impl Display for TokenTree { implementation
613 impl Debug for TokenTree { implementation
1324 fn next(&mut self) -> Option<TokenTree> { in next()
H A Dfallback.rs98 fn take_inner(self) -> RcVecBuilder<TokenTree> { in take_inner()
104 fn push_token_from_proc_macro(mut vec: RcVecMut<TokenTree>, token: TokenTree) { in push_token_from_proc_macro()
120 fn push_negative_literal(mut vec: RcVecMut<TokenTree>, mut literal: Literal) { in push_token_from_proc_macro()
179 pub(crate) fn push_token_from_parser(&mut self, tt: TokenTree) { in push_token_from_parser()
H A Dwrapper.rs163 fn into_compiler_token(token: TokenTree) -> proc_macro::TokenTree { in into_compiler_token()
336 fn next(&mut self) -> Option<TokenTree> { in next()
H A Dparse.rs268 fn leaf_token(input: Cursor) -> PResult<TokenTree> { in leaf_token()
/linux/rust/quote/
H A Dext.rs16 U: Into<TokenTree>; in append()
64 U: Into<TokenTree>, in append()
H A Druntime.rs281 fn respan_token_tree(mut token: TokenTree, span: Span) -> TokenTree { in respan_token_tree()
H A Dto_tokens.rs259 impl ToTokens for TokenTree { implementation
/linux/rust/syn/
H A Dbuffer.rs306 pub fn token_tree(self) -> Option<(TokenTree, Cursor<'a>)> { in token_tree()
H A Dlit.rs227 fn respan_token_tree(mut token: TokenTree, span: Span) -> TokenTree { in parse_with()
H A Dparse.rs1193 impl Parse for TokenTree { implementation