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 parse_zeroable_derive_input( input: TokenStream, ) -> ( Vec<TokenTree>, Vec<TokenTree>, Vec<TokenTree>, Option<TokenTree>, ) parse_zeroable_derive_input() argument
15 parse_zeroable_derive_input( input: TokenStream, ) -> ( Vec<TokenTree>, Vec<TokenTree>, Vec<TokenTree>, Option<TokenTree>, ) parse_zeroable_derive_input() argument
/linux/rust/macros/
H A Dpin_data.rs
H A Dpaste.rs60 fn concat(tokens: &[TokenTree], group_span: Span) -> TokenTree { in concat() argument
66 expand(tokens: &mut Vec<TokenTree>) expand() argument
[all...]
H A Dquote.rs
/linux/rust/proc-macro2/
H A Dlib.rs539 pub enum TokenTree { enum
550 impl TokenTree { implementation
577 impl From<Group> for TokenTree { implementation
583 impl From<Ident> for TokenTree { implementation
589 impl From<Punct> for TokenTree { implementation
595 impl From<Literal> for TokenTree { implementation
605 impl Display for TokenTree { implementation
617 impl Debug for TokenTree { implementation
1328 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