Searched refs:enum_token (Results 1 – 14 of 14) sorted by relevance
/external/rust/crates/syn/src/ |
D | derive.rs | 72 pub enum_token: Token![enum], 122 let enum_token = input.parse::<Token![enum]>()?; in parse() localVariable 135 enum_token, in parse() 240 Data::Enum(d) => d.enum_token.to_tokens(tokens), in to_tokens()
|
D | item.rs | 128 pub enum_token: Token![enum], 407 enum_token: data.enum_token, in from() 449 enum_token: input.enum_token, in from() 2038 let enum_token = input.parse::<Token![enum]>()?; in parse() localVariable 2045 enum_token, in parse() 2922 self.enum_token.to_tokens(tokens); in to_tokens()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 204 let enum_token = item.enum_token; in parse_enum() localVariable 207 let span = quote!(#vis #enum_token #ident #generics); in parse_enum() 222 let enum_token = item.enum_token; in parse_enum() localVariable 223 let visibility = visibility_pub(&item.vis, enum_token.span); in parse_enum() 231 let span = quote_spanned!(brace_token.span=> #enum_token {}); in parse_enum() 251 enum_token, in parse_enum()
|
D | check.rs | 621 let enum_token = enm.enum_token; in span_for_enum_error() localVariable 624 quote!(#enum_token #brace_token) in span_for_enum_error()
|
D | mod.rs | 109 pub enum_token: Token![enum], field
|
D | tokens.rs | 198 self.enum_token.to_tokens(tokens); in to_tokens()
|
/external/rust/crates/serde_derive/src/internals/ |
D | attr.rs | 387 syn::Data::Enum(syn::DataEnum { enum_token, .. }) => cx.error_spanned_by( in from_ast() 388 enum_token, in from_ast() 413 syn::Data::Enum(syn::DataEnum { enum_token, .. }) => cx in from_ast() 415 enum_token, in from_ast()
|
/external/rust/crates/thiserror-impl/src/ |
D | expand.rs | 408 Data::Enum(data) => data.enum_token.span(), in spanned_error_trait()
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 161 enum_token: self.enum_token.clone(), in clone() 1083 enum_token: self.enum_token.clone(), in clone()
|
D | fold.rs | 987 enum_token: Token![enum](tokens_helper(f, &node.enum_token.span)), in fold_data_enum() 1912 enum_token: Token![enum](tokens_helper(f, &node.enum_token.span)), in fold_item_enum()
|
D | debug.rs | 315 formatter.field("enum_token", &self.enum_token); in fmt() 1561 formatter.field("enum_token", &self.enum_token); in fmt()
|
D | visit_mut.rs | 1045 tokens_helper(v, &mut node.enum_token.span); in visit_data_enum_mut() 2229 tokens_helper(v, &mut node.enum_token.span); in visit_item_enum_mut()
|
D | visit.rs | 1041 tokens_helper(v, &node.enum_token.span); in visit_data_enum() 2223 tokens_helper(v, &node.enum_token.span); in visit_item_enum()
|
/external/rust/cxx/macro/src/ |
D | expand.rs | 310 let struct_token = Token![struct](enm.enum_token.span); in expand_enum()
|