Lines Matching refs:path
28 let kind = if attr.path().is_ident("clap") {
29 Sp::new(AttrKind::Clap, attr.path().span())
30 } else if attr.path().is_ident("structopt") {
31 Sp::new(AttrKind::StructOpt, attr.path().span())
32 } else if attr.path().is_ident("command") {
33 Sp::new(AttrKind::Command, attr.path().span())
34 } else if attr.path().is_ident("group") {
35 Sp::new(AttrKind::Group, attr.path().span())
36 } else if attr.path().is_ident("arg") {
37 Sp::new(AttrKind::Arg, attr.path().span())
38 } else if attr.path().is_ident("value") {
39 Sp::new(AttrKind::Value, attr.path().span())