Home
last modified time | relevance | path

Searched refs:app_var (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/derives/
Dinto_app.rs25 let app_var = Ident::new("__clap_app", Span::call_site()); in gen_for_struct() localVariable
43 let #app_var = clap::Command::new(#name); in gen_for_struct()
44 <Self as clap::Args>::augment_args(#app_var) in gen_for_struct()
48 let #app_var = clap::Command::new(#name); in gen_for_struct()
49 <Self as clap::Args>::augment_args_for_update(#app_var) in gen_for_struct()
61 let app_var = Ident::new("__clap_app", Span::call_site()); in gen_for_enum() localVariable
79 let #app_var = clap::Command::new(#name) in gen_for_enum()
82 <Self as clap::Subcommand>::augment_subcommands(#app_var) in gen_for_enum()
86 let #app_var = clap::Command::new(#name); in gen_for_enum()
87 <Self as clap::Subcommand>::augment_subcommands_for_update(#app_var) in gen_for_enum()
Dargs.rs89 let app_var = Ident::new("__clap_app", Span::call_site()); in gen_for_struct() localVariable
90 let augmentation = gen_augment(fields, &app_var, item, false); in gen_for_struct()
91 let augmentation_update = gen_augment(fields, &app_var, item, true); in gen_for_struct()
153 fn augment_args<'b>(#app_var: clap::Command) -> clap::Command { in gen_for_struct()
156 fn augment_args_for_update<'b>(#app_var: clap::Command) -> clap::Command { in gen_for_struct()
167 app_var: &Ident, in gen_augment()
209 … let #app_var = <#subcmd_type as clap::Subcommand>::augment_subcommands( #app_var ); in gen_augment()
210 let #app_var = #app_var in gen_augment()
225 let #app_var = #app_var in gen_augment()
228 … let #app_var = <#inner_type as clap::Args>::augment_args_for_update(#app_var); in gen_augment()
[all …]
Dsubcommand.rs132 let app_var = Ident::new("__clap_app", Span::call_site()); in gen_augment() localVariable
170 let #app_var = #app_var in gen_augment()
189 let #app_var = #app_var in gen_augment()
192 … let #app_var = <#ty as clap::Subcommand>::augment_subcommands_for_update(#app_var); in gen_augment()
197 let #app_var = #app_var in gen_augment()
200 … let #app_var = <#ty as clap::Subcommand>::augment_subcommands(#app_var); in gen_augment()
256 let #app_var = #app_var.subcommand({ in gen_augment()
330 let #app_var = #app_var.subcommand({ in gen_augment()
351 let #app_var = #app_var #initial_app_methods; in gen_augment()
353 #app_var #final_app_methods in gen_augment()