/external/rust/crates/syn/tests/ |
D | test_meta.rs | 6 use syn::{Meta, MetaList, MetaNameValue, NestedMeta}; 29 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value() 65 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value_with_keyword() 101 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value_with_bool()
|
/external/rust/crates/argh_derive/src/ |
D | parse_attrs.rs | 174 fn parse_attr_default(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_default() argument 178 fn parse_attr_arg_name(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_arg_name() argument 182 fn parse_attr_long(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_long() argument 189 fn parse_attr_short(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_short() argument 280 fn attr_to_meta_name_value(errors: &Errors, attr: &syn::Attribute) -> Option<syn::MetaNameValue> { in attr_to_meta_name_value() argument 415 fn parse_attr_example(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_example() argument 419 fn parse_attr_name(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_name() argument 428 fn parse_attr_note(&mut self, errors: &Errors, m: &syn::MetaNameValue) { in parse_attr_note() argument 512 m: &syn::MetaNameValue, in parse_attr_single_string() argument 523 fn parse_attr_multi_string(errors: &Errors, m: &syn::MetaNameValue, list: &mut Vec<syn::LitStr>) { in parse_attr_multi_string() argument [all …]
|
D | errors.rs | 99 (expect_meta_name_value, MetaNameValue, NameValue, "name-value pair"),
|
/external/rust/crates/derive_arbitrary/src/ |
D | container_attributes.rs | 3 parse::Error, punctuated::Punctuated, DeriveInput, Lit, Meta, MetaNameValue, NestedMeta, Token, 48 NestedMeta::Meta(Meta::NameValue(MetaNameValue { in from_derive_input()
|
/external/rust/crates/syn/src/ |
D | attr.rs | 368 NameValue(MetaNameValue), 391 pub struct MetaNameValue { 574 impl Parse for MetaNameValue { implementation 615 fn parse_meta_name_value_after_path(path: Path, input: ParseStream) -> Result<MetaNameValue> { in parse_meta_name_value_after_path() argument 616 Ok(MetaNameValue { in parse_meta_name_value_after_path() 655 impl ToTokens for MetaNameValue { implementation
|
D | lib.rs | 320 AttrStyle, Attribute, AttributeArgs, Meta, MetaList, MetaNameValue, NestedMeta,
|
/external/rust/crates/clap_derive/src/utils/ |
D | doc_comments.rs | 11 use syn::MetaNameValue; in extract_doc_comment() 21 if let Ok(NameValue(MetaNameValue { lit: Str(s), .. })) = attr.parse_meta() { in extract_doc_comment()
|
/external/rust/crates/der_derive/src/ |
D | attributes.rs | 8 use syn::{Attribute, Lit, LitStr, Meta, MetaList, MetaNameValue, NestedMeta, Path}; 310 NestedMeta::Meta(Meta::NameValue(MetaNameValue { in from_attributes()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 6 MetaList, MetaNameValue, NestedMeta, Result, Token, Type, Variant, Visibility, WhereClause, 1026 | NestedMeta::Meta(Meta::NameValue(MetaNameValue { path, .. })) => { in ensure_not_packed()
|
/external/rust/crates/syn/src/gen/ |
D | fold.rs | 489 fn fold_meta_name_value(&mut self, i: MetaNameValue) -> MetaNameValue { in fold_meta_name_value() argument 2429 pub fn fold_meta_name_value<F>(f: &mut F, node: MetaNameValue) -> MetaNameValue in fold_meta_name_value() 2433 MetaNameValue { in fold_meta_name_value()
|
D | clone.rs | 1418 impl Clone for MetaNameValue { implementation 1420 MetaNameValue { in clone()
|
D | eq.rs | 1344 impl Eq for MetaNameValue {} implementation 1347 impl PartialEq for MetaNameValue { implementation
|
D | visit_mut.rs | 489 fn visit_meta_name_value_mut(&mut self, i: &mut MetaNameValue) { in visit_meta_name_value_mut() argument 2697 pub fn visit_meta_name_value_mut<V>(v: &mut V, node: &mut MetaNameValue) in visit_meta_name_value_mut()
|
D | visit.rs | 488 fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue) { in visit_meta_name_value() argument 2697 pub fn visit_meta_name_value<'ast, V>(v: &mut V, node: &'ast MetaNameValue) in visit_meta_name_value()
|
D | hash.rs | 1806 impl Hash for MetaNameValue { implementation
|
D | debug.rs | 1960 impl Debug for MetaNameValue { implementation
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 3610 impl Debug for Lite<syn::MetaNameValue> {
|