Home
last modified time | relevance | path

Searched refs:semi_token (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/syn/src/
Ditem.rs113 pub semi_token: Token![;],
145 pub semi_token: Token![;],
207 pub semi_token: Option<Token![;]>,
255 pub semi_token: Token![;],
271 pub semi_token: Option<Token![;]>,
308 pub semi_token: Token![;],
325 pub semi_token: Token![;],
355 pub semi_token: Token![;],
397 semi_token: data.semi_token, in from()
430 semi_token: input.semi_token, in from()
[all …]
Dstmt.rs45 pub semi_token: Token![;],
215 let semi_token: Option<Token![;]> = input.parse()?; in stmt_mac() localVariable
226 semi_token, in stmt_mac()
255 let semi_token: Token![;] = input.parse()?; in stmt_local() localVariable
256 return Ok(Stmt::Semi(verbatim, semi_token)); in stmt_local()
264 let semi_token: Token![;] = input.parse()?; in stmt_local() localVariable
271 semi_token, in stmt_local()
346 self.semi_token.to_tokens(tokens); in to_tokens()
Dderive.rs61 pub semi_token: Option<Token![;]>,
118 semi_token: semi, in parse()
254 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
258 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
Dty.rs100 pub semi_token: Token![;],
630 semi_token: content.parse()?, in ambig_ty()
674 semi_token: content.parse()?, in parse()
1142 self.semi_token.to_tokens(tokens); in to_tokens()
Dexpr.rs648 pub semi_token: Token![;],
1960 let semi_token: Token![;] = content.parse()?; in array_or_repeat() localVariable
1966 semi_token, in array_or_repeat()
2009 semi_token: content.parse()?, in parse()
3484 self.semi_token.to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/src/gen/
Dclone.rs174 semi_token: self.semi_token.clone(), in clone()
629 semi_token: self.semi_token.clone(), in clone()
862 semi_token: self.semi_token.clone(), in clone()
873 semi_token: self.semi_token.clone(), in clone()
889 semi_token: self.semi_token.clone(), in clone()
902 semi_token: self.semi_token.clone(), in clone()
981 semi_token: self.semi_token.clone(), in clone()
992 semi_token: self.semi_token.clone(), in clone()
1022 semi_token: self.semi_token.clone(), in clone()
1076 semi_token: self.semi_token.clone(), in clone()
[all …]
Dfold.rs1047 semi_token: (node.semi_token).map(|it| Token![;](tokens_helper(f, &it.spans))), in fold_data_struct()
1491 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_expr_repeat()
1732 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_fn()
1743 semi_token: (node.semi_token).map(|it| Token![;](tokens_helper(f, &it.spans))), in fold_foreign_item_macro()
1762 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_static()
1775 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_type()
1893 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_impl_item_const()
1904 semi_token: (node.semi_token).map(|it| Token![;](tokens_helper(f, &it.spans))), in fold_impl_item_macro()
1936 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_impl_item_type()
1996 semi_token: Token![;](tokens_helper(f, &node.semi_token.spans)), in fold_item_const()
[all …]
Ddebug.rs328 formatter.field("semi_token", &self.semi_token); in fmt()
943 formatter.field("semi_token", &self.semi_token); in fmt()
1212 formatter.field("semi_token", &self.semi_token); in fmt()
1223 formatter.field("semi_token", &self.semi_token); in fmt()
1239 formatter.field("semi_token", &self.semi_token); in fmt()
1252 formatter.field("semi_token", &self.semi_token); in fmt()
1391 formatter.field("semi_token", &self.semi_token); in fmt()
1402 formatter.field("semi_token", &self.semi_token); in fmt()
1432 formatter.field("semi_token", &self.semi_token); in fmt()
1554 formatter.field("semi_token", &self.semi_token); in fmt()
[all …]
Dvisit_mut.rs1066 if let Some(it) = &mut node.semi_token { in visit_data_struct_mut()
1629 tokens_helper(v, &mut node.semi_token.spans); in visit_expr_repeat_mut()
1920 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_fn_mut()
1931 if let Some(it) = &mut node.semi_token { in visit_foreign_item_macro_mut()
1951 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_static_mut()
1964 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_type_mut()
2093 tokens_helper(v, &mut node.semi_token.spans); in visit_impl_item_const_mut()
2104 if let Some(it) = &mut node.semi_token { in visit_impl_item_macro_mut()
2140 tokens_helper(v, &mut node.semi_token.spans); in visit_impl_item_type_mut()
2226 tokens_helper(v, &mut node.semi_token.spans); in visit_item_const_mut()
[all …]
Dvisit.rs1065 if let Some(it) = &node.semi_token { in visit_data_struct()
1628 tokens_helper(v, &node.semi_token.spans); in visit_expr_repeat()
1919 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_fn()
1930 if let Some(it) = &node.semi_token { in visit_foreign_item_macro()
1950 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_static()
1963 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_type()
2093 tokens_helper(v, &node.semi_token.spans); in visit_impl_item_const()
2104 if let Some(it) = &node.semi_token { in visit_impl_item_macro()
2140 tokens_helper(v, &node.semi_token.spans); in visit_impl_item_type()
2226 tokens_helper(v, &node.semi_token.spans); in visit_item_const()
[all …]
Deq.rs196 self.fields == other.fields && self.semi_token == other.semi_token in eq()
842 && self.semi_token == other.semi_token in eq()
980 && self.semi_token == other.semi_token in eq()
1113 && self.semi_token == other.semi_token in eq()
1159 && self.semi_token == other.semi_token in eq()
1787 && self.semi_token == other.semi_token in eq()
1798 && self.default == other.default && self.semi_token == other.semi_token in eq()
Dhash.rs276 self.semi_token.hash(state); in hash()
1142 self.semi_token.hash(state); in hash()
1314 self.semi_token.hash(state); in hash()
1519 self.semi_token.hash(state); in hash()
1576 self.semi_token.hash(state); in hash()
2374 self.semi_token.hash(state); in hash()
2387 self.semi_token.hash(state); in hash()
/external/rust/cxx/syntax/
Dmod.rs92 pub semi_token: Token![;], field
145 pub semi_token: Token![;], field
160 pub semi_token: Token![;], field
280 pub semi_token: Token![;], field
Dparse.rs499 let semi_token = foreign_type.semi_token; in parse_extern_type() localVariable
516 semi_token, in parse_extern_type()
679 let semi_token = foreign_fn.semi_token; in parse_extern_fn() localVariable
703 semi_token, in parse_extern_fn()
854 let semi_token: Token![;] = input.parse()?; in parse_type_alias() localVariable
878 let span = quote!(#type_token #semi_token); in parse_type_alias()
897 semi_token, in parse_type_alias()
946 let semi_token: Token![;] = input.parse()?; in parse_extern_type_bounded() localVariable
987 semi_token, in parse_extern_type_bounded()
1356 let semi_token = ty.semi_token; in parse_type_array() localVariable
[all …]
Dtokens.rs152 semi_token, in to_tokens()
158 semi_token.to_tokens(tokens); in to_tokens()
217 self.semi_token.to_tokens(tokens); in to_tokens()
Dimpls.rs278 semi_token: _, in eq()
285 semi_token: _, in eq()
298 semi_token: _, in hash()
/external/rust/cxx/macro/src/
Dexpand.rs609 let span = efn.semi_token.span; in expand_cxx_function_shim()
781 let body_span = efn.semi_token.span; in expand_function_pointer_trampoline()
851 let unpin = quote_spanned! {ety.semi_token.span=> in expand_rust_type_assert_unpin()
877 let sized = quote_spanned! {ety.semi_token.span=> in expand_rust_type_layout()
932 let body_span = efn.semi_token.span; in expand_rust_function_shim()
1203 let semi_token = alias.semi_token; in expand_type_alias() localVariable
1208 #visibility #type_token #ident #generics #eq_token #ty #semi_token in expand_type_alias()
1216 let end_span = alias.semi_token.span; in expand_type_alias_verify()
/external/rust/cxx/gen/src/
Dnested.rs151 semi_token: Token![;](Span::call_site()), in make_api()
/external/rust/crates/syn/tests/debug/
Dgen.rs346 if let Some(val) = &_val.semi_token { in fmt()
390 if let Some(val) = &_val.semi_token { in fmt()
2103 if let Some(val) = &_val.semi_token { in fmt()
2148 if let Some(val) = &_val.semi_token { in fmt()
2419 if let Some(val) = &_val.semi_token { in fmt()
2478 if let Some(val) = &_val.semi_token { in fmt()
2725 if let Some(val) = &_val.semi_token { in fmt()
2818 if let Some(val) = &_val.semi_token { in fmt()
3140 if let Some(val) = &_val.semi_token { in fmt()
3245 if let Some(val) = &_val.semi_token { in fmt()
[all …]