Home
last modified time | relevance | path

Searched refs:union_token (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/syn/src/
Dderive.rs85 pub union_token: Token![union],
141 let union_token = input.parse::<Token![union]>()?; in parse() localVariable
154 union_token, in parse()
241 Data::Union(d) => d.union_token.to_tokens(tokens), in to_tokens()
Ditem.rs340 pub union_token: Token![union],
416 union_token: data.union_token, in from()
465 union_token: input.union_token, in from()
2062 let union_token = input.parse::<Token![union]>()?; in parse() localVariable
2069 union_token, in parse()
2963 self.union_token.to_tokens(tokens); in to_tokens()
/external/rust/crates/serde_derive/src/internals/
Dattr.rs391 syn::Data::Union(syn::DataUnion { union_token, .. }) => cx.error_spanned_by( in from_ast()
392 union_token, in from_ast()
419 union_token, .. in from_ast()
421 union_token, in from_ast()
455 syn::Data::Union(syn::DataUnion { union_token, .. }) => { in from_ast()
457 union_token, in from_ast()
481 syn::Data::Union(syn::DataUnion { union_token, .. }) => { in from_ast()
483 union_token, in from_ast()
504 syn::Data::Union(syn::DataUnion { union_token, .. }) => { in from_ast()
506 union_token, in from_ast()
[all …]
/external/rust/crates/thiserror-impl/src/
Dexpand.rs409 Data::Union(data) => data.union_token.span(), in spanned_error_trait()
/external/rust/crates/syn/src/gen/
Dclone.rs183 union_token: self.union_token.clone(), in clone()
1277 union_token: self.union_token.clone(), in clone()
Dfold.rs1009 union_token: Token![union](tokens_helper(f, &node.union_token.span)), in fold_data_union()
2122 union_token: Token![union](tokens_helper(f, &node.union_token.span)), in fold_item_union()
Ddebug.rs337 formatter.field("union_token", &self.union_token); in fmt()
1755 formatter.field("union_token", &self.union_token); in fmt()
Dvisit_mut.rs1071 tokens_helper(v, &mut node.union_token.span); in visit_data_union_mut()
2481 tokens_helper(v, &mut node.union_token.span); in visit_item_union_mut()
Dvisit.rs1067 tokens_helper(v, &node.union_token.span); in visit_data_union()
2475 tokens_helper(v, &node.union_token.span); in visit_item_union()