Home
last modified time | relevance | path

Searched refs:MetaNameValue (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/syn/tests/
Dtest_meta.rs6 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/
Dparse_attrs.rs174 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 …]
Derrors.rs99 (expect_meta_name_value, MetaNameValue, NameValue, "name-value pair"),
/external/rust/crates/derive_arbitrary/src/
Dcontainer_attributes.rs3 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/
Dattr.rs368 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
Dlib.rs320 AttrStyle, Attribute, AttributeArgs, Meta, MetaList, MetaNameValue, NestedMeta,
/external/rust/crates/clap_derive/src/utils/
Ddoc_comments.rs11 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/
Dattributes.rs8 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/
Dderive.rs6 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/
Dfold.rs489 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()
Dclone.rs1418 impl Clone for MetaNameValue { implementation
1420 MetaNameValue { in clone()
Deq.rs1344 impl Eq for MetaNameValue {} implementation
1347 impl PartialEq for MetaNameValue { implementation
Dvisit_mut.rs489 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()
Dvisit.rs488 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()
Dhash.rs1806 impl Hash for MetaNameValue { implementation
Ddebug.rs1960 impl Debug for MetaNameValue { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs3610 impl Debug for Lite<syn::MetaNameValue> {