Home
last modified time | relevance | path

Searched refs:impl_token (Results 1 – 12 of 12) sorted by relevance

/third_party/rust/crates/syn/src/
Dtoken.rs165 macro_rules! impl_token { macro
186 impl_token!("lifetime" Lifetime);
187 impl_token!("literal" Lit);
188 impl_token!("string literal" LitStr);
189 impl_token!("byte string literal" LitByteStr);
190 impl_token!("byte literal" LitByte);
191 impl_token!("character literal" LitChar);
192 impl_token!("integer literal" LitInt);
193 impl_token!("floating point literal" LitFloat);
194 impl_token!("boolean literal" LitBool);
[all …]
Dty.rs143 pub impl_token: Token![impl],
965 let impl_token: Token![impl] = input.parse()?; in parse() localVariable
983 impl_token.span, in parse()
988 Ok(TypeImplTrait { impl_token, bounds }) in parse()
1227 self.impl_token.to_tokens(tokens); in to_tokens()
Ditem.rs186 pub impl_token: Token![impl],
2423 let impl_token: Token![impl] = input.parse()?; in parse_impl() localVariable
2512 impl_token, in parse_impl()
2985 self.impl_token.to_tokens(tokens); in to_tokens()
/third_party/rust/crates/cxx/syntax/
Dtokens.rs225 impl_token, in to_tokens()
233 impl_token.to_tokens(tokens); in to_tokens()
Dmod.rs165 pub impl_token: Token![impl], field
Dparse.rs993 let impl_token = imp.impl_token; in parse_impl() localVariable
1041 let span = quote!(#impl_token #impl_generics); in parse_impl()
1091 impl_token, in parse_impl()
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs309 let impl_token = Token![impl](strct.visibility.span); in expand_struct_forbid_drop() localVariable
312 #impl_token #generics self::Drop for super::#ident #generics {} in expand_struct_forbid_drop()
1266 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_rust_box()
1324 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_rust_vec()
1418 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_unique_ptr()
1503 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_shared_ptr()
1558 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_weak_ptr()
1631 let begin_span = explicit_impl.map_or(key.begin_span, |explicit| explicit.impl_token.span); in expand_cxx_vector()
/third_party/rust/crates/syn/src/gen/
Dclone.rs1142 impl_token: self.impl_token.clone(), in clone()
1956 impl_token: self.impl_token.clone(), in clone()
Dfold.rs2067 impl_token: Token![impl](tokens_helper(f, &node.impl_token.span)), in fold_item_impl()
3032 impl_token: Token![impl](tokens_helper(f, &node.impl_token.span)), in fold_type_impl_trait()
Ddebug.rs1620 formatter.field("impl_token", &self.impl_token); in fmt()
2690 formatter.field("impl_token", &self.impl_token); in fmt()
Dvisit_mut.rs2307 tokens_helper(v, &mut node.impl_token.span); in visit_item_impl_mut()
3447 tokens_helper(v, &mut node.impl_token.span); in visit_type_impl_trait_mut()
Dvisit.rs2307 tokens_helper(v, &node.impl_token.span); in visit_item_impl()
3447 tokens_helper(v, &node.impl_token.span); in visit_type_impl_trait()