Home
last modified time | relevance | path

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

/external/rust/crates/syn/src/
Ditem.rs116 pub semi_token: Token![;],
148 pub semi_token: Token![;],
210 pub semi_token: Option<Token![;]>,
258 pub semi_token: Token![;],
274 pub semi_token: Option<Token![;]>,
311 pub semi_token: Token![;],
328 pub semi_token: Token![;],
358 pub semi_token: Token![;],
402 semi_token: data.semi_token, in from()
435 semi_token: input.semi_token, in from()
[all …]
Dstmt.rs45 pub semi_token: Token![;],
207 let semi_token: Option<Token![;]> = input.parse()?; in stmt_mac() localVariable
218 semi_token, in stmt_mac()
249 semi_token: input.parse()?, in stmt_local()
319 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.rs103 pub semi_token: Token![;],
618 semi_token: content.parse()?, in ambig_ty()
662 semi_token: content.parse()?, in parse()
1082 self.semi_token.to_tokens(tokens); in to_tokens()
Dexpr.rs651 pub semi_token: Token![;],
1924 let semi_token: Token![;] = content.parse()?; in array_or_repeat() localVariable
1930 semi_token, in array_or_repeat()
1974 semi_token: content.parse()?, in parse()
3397 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()
628 semi_token: self.semi_token.clone(), in clone()
860 semi_token: self.semi_token.clone(), in clone()
871 semi_token: self.semi_token.clone(), in clone()
887 semi_token: self.semi_token.clone(), in clone()
900 semi_token: self.semi_token.clone(), in clone()
978 semi_token: self.semi_token.clone(), in clone()
989 semi_token: self.semi_token.clone(), in clone()
1019 semi_token: self.semi_token.clone(), in clone()
1072 semi_token: self.semi_token.clone(), in clone()
[all …]
Dfold.rs1000 semi_token: (node.semi_token).map(|it| Token ! [;](tokens_helper(f, &it.spans))), in fold_data_struct()
1431 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_expr_repeat()
1665 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_fn()
1676 semi_token: (node.semi_token).map(|it| Token ! [;](tokens_helper(f, &it.spans))), in fold_foreign_item_macro()
1692 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_static()
1705 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_foreign_item_type()
1807 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_impl_item_const()
1818 semi_token: (node.semi_token).map(|it| Token ! [;](tokens_helper(f, &it.spans))), in fold_impl_item_macro()
1848 semi_token: Token ! [;](tokens_helper(f, &node.semi_token.spans)), in fold_impl_item_type()
1901 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()
942 formatter.field("semi_token", &self.semi_token); in fmt()
1210 formatter.field("semi_token", &self.semi_token); in fmt()
1221 formatter.field("semi_token", &self.semi_token); in fmt()
1237 formatter.field("semi_token", &self.semi_token); in fmt()
1250 formatter.field("semi_token", &self.semi_token); in fmt()
1388 formatter.field("semi_token", &self.semi_token); in fmt()
1399 formatter.field("semi_token", &self.semi_token); in fmt()
1429 formatter.field("semi_token", &self.semi_token); in fmt()
1550 formatter.field("semi_token", &self.semi_token); in fmt()
[all …]
Dvisit_mut.rs1062 if let Some(it) = &mut node.semi_token { in visit_data_struct_mut()
1624 tokens_helper(v, &mut node.semi_token.spans); in visit_expr_repeat_mut()
1914 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_fn_mut()
1925 if let Some(it) = &mut node.semi_token { in visit_foreign_item_macro_mut()
1945 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_static_mut()
1958 tokens_helper(v, &mut node.semi_token.spans); in visit_foreign_item_type_mut()
2086 tokens_helper(v, &mut node.semi_token.spans); in visit_impl_item_const_mut()
2097 if let Some(it) = &mut node.semi_token { in visit_impl_item_macro_mut()
2133 tokens_helper(v, &mut node.semi_token.spans); in visit_impl_item_type_mut()
2218 tokens_helper(v, &mut node.semi_token.spans); in visit_item_const_mut()
[all …]
Dvisit.rs1058 if let Some(it) = &node.semi_token { in visit_data_struct()
1620 tokens_helper(v, &node.semi_token.spans); in visit_expr_repeat()
1910 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_fn()
1921 if let Some(it) = &node.semi_token { in visit_foreign_item_macro()
1941 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_static()
1954 tokens_helper(v, &node.semi_token.spans); in visit_foreign_item_type()
2080 tokens_helper(v, &node.semi_token.spans); in visit_impl_item_const()
2091 if let Some(it) = &node.semi_token { in visit_impl_item_macro()
2127 tokens_helper(v, &node.semi_token.spans); in visit_impl_item_type()
2212 tokens_helper(v, &node.semi_token.spans); in visit_item_const()
[all …]
Deq.rs203 self.fields == other.fields && self.semi_token == other.semi_token in eq()
872 self.attrs == other.attrs && self.mac == other.mac && self.semi_token == other.semi_token in eq()
1007 self.attrs == other.attrs && self.mac == other.mac && self.semi_token == other.semi_token in eq()
1160 && self.semi_token == other.semi_token in eq()
1217 && self.semi_token == other.semi_token in eq()
1875 self.attrs == other.attrs && self.mac == other.mac && self.semi_token == other.semi_token in eq()
1888 && self.semi_token == other.semi_token in eq()
Dhash.rs276 self.semi_token.hash(state); in hash()
1140 self.semi_token.hash(state); in hash()
1311 self.semi_token.hash(state); in hash()
1515 self.semi_token.hash(state); in hash()
1572 self.semi_token.hash(state); in hash()
2368 self.semi_token.hash(state); in hash()
2381 self.semi_token.hash(state); in hash()
/external/rust/cxx/syntax/
Dmod.rs88 pub semi_token: Token![;], field
126 pub semi_token: Token![;], field
140 pub semi_token: Token![;], field
254 pub semi_token: Token![;], field
Dparse.rs465 let semi_token = foreign_type.semi_token; in parse_extern_type() localVariable
481 semi_token, in parse_extern_type()
629 let semi_token = foreign_fn.semi_token; in parse_extern_fn() localVariable
651 semi_token, in parse_extern_fn()
765 let semi_token: Token![;] = input.parse()?; in parse_type_alias() localVariable
786 let span = quote!(#type_token #semi_token); in parse_type_alias()
804 semi_token, in parse_type_alias()
851 let semi_token: Token![;] = input.parse()?; in parse_extern_type_bounded() localVariable
888 semi_token, in parse_extern_type_bounded()
1244 let semi_token = ty.semi_token; in parse_type_array() localVariable
[all …]
Dtokens.rs144 semi_token, in to_tokens()
150 semi_token.to_tokens(tokens); in to_tokens()
209 self.semi_token.to_tokens(tokens); in to_tokens()
Dimpls.rs276 semi_token: _, in eq()
283 semi_token: _, in eq()
296 semi_token: _, in hash()
/external/rust/cxx/gen/src/
Dnested.rs149 semi_token: Token![;](Span::call_site()), in make_api()
/external/rust/cxx/macro/src/
Dexpand.rs662 let fn_body = quote_spanned!(efn.semi_token.span=> { in expand_cxx_function_shim()
794 let unpin = quote_spanned! {ety.semi_token.span=> in expand_rust_type_assert_sized()
808 let sized = quote_spanned! {ety.semi_token.span=> in expand_rust_type_layout()
1093 let semi_token = alias.semi_token; in expand_type_alias() localVariable
1098 #visibility #type_token #ident #generics #eq_token #ty #semi_token in expand_type_alias()
1106 let end_span = alias.semi_token.span; in expand_type_alias_verify()
/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()
2726 if let Some(val) = &_val.semi_token { in fmt()
2819 if let Some(val) = &_val.semi_token { in fmt()
3138 if let Some(val) = &_val.semi_token { in fmt()
3243 if let Some(val) = &_val.semi_token { in fmt()
[all …]