Lines Matching refs:tail

375         $($tail:tt)*
390 $($tail)*
397 $($tail:tt)*
412 $($tail)*
419 $($tail:tt)*
430 $($tail)*
437 $($tail:tt)*
448 $($tail)*
455 $($tail:tt)*
474 $($tail)*
481 $($tail:tt)*
504 $($tail)*
511 $($tail:tt)*
518 $($tail)*
616 ( $name:ident: $($tail:tt)+ ) => {
618 @arg ($crate::Arg::new($crate::arg_impl! { @string $name })) $($tail)+
621 ( $($tail:tt)+ ) => {{
623 @arg ($crate::Arg::default()) $($tail)+
638 (@app ($builder:expr) (@arg ($name:expr): $($tail:tt)*) $($tt:tt)*) => {
641 $crate::clap_app!{ @arg ($crate::Arg::new($name)) (-) $($tail)* }))
645 (@app ($builder:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => {
648 $crate::clap_app!{ @arg ($crate::Arg::new(stringify!($name))) (-) $($tail)* }))
662 (@app ($builder:expr) (@group $name:ident => $($tail:tt)*) $($tt:tt)*) => {
664 … ($crate::clap_app!{ @group ($builder, $crate::ArgGroup::new(stringify!($name))) $($tail)* })
668 (@app ($builder:expr) (@group $name:ident !$ident:ident => $($tail:tt)*) $($tt:tt)*) => {
670 …::clap_app!{ @group ($builder, $crate::ArgGroup::new(stringify!($name)).$ident(false)) $($tail)* })
674 (@app ($builder:expr) (@group $name:ident +$ident:ident => $($tail:tt)*) $($tt:tt)*) => {
676 …e::clap_app!{ @group ($builder, $crate::ArgGroup::new(stringify!($name)).$ident(true)) $($tail)* })
681 (@app ($builder:expr) (@subcommand $name:ident => $($tail:tt)*) $($tt:tt)*) => {
684 $crate::clap_app!{ @app ($crate::App::new(stringify!($name))) $($tail)* }
704 (@group ($builder:expr, $group:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => {
706 ($crate::clap_app!{ @app ($builder) (@arg $name: $($tail)*) },
715 (@arg ($arg:expr) $modes:tt --($long:expr) $($tail:tt)*) => {
716 $crate::clap_app!{ @arg ($arg.long($long)) $modes $($tail)* }
718 (@arg ($arg:expr) $modes:tt --$long:ident $($tail:tt)*) => {
719 $crate::clap_app!{ @arg ($arg.long(stringify!($long))) $modes $($tail)* }
721 (@arg ($arg:expr) $modes:tt -$short:ident $($tail:tt)*) => {
722 …$crate::clap_app!{ @arg ($arg.short(stringify!($short).chars().next().unwrap())) $modes $($tail)* }
724 (@arg ($arg:expr) (-) <$var:ident> $($tail:tt)*) => {
725 … $crate::clap_app!{ @arg ($arg.value_name(stringify!($var))) (+) +takes_value +required $($tail)* }
727 (@arg ($arg:expr) (+) <$var:ident> $($tail:tt)*) => {
728 $crate::clap_app!{ @arg ($arg.value_name(stringify!($var))) (+) $($tail)* }
730 (@arg ($arg:expr) (-) [$var:ident] $($tail:tt)*) => {
731 $crate::clap_app!{ @arg ($arg.value_name(stringify!($var))) (+) +takes_value $($tail)* }
733 (@arg ($arg:expr) (+) [$var:ident] $($tail:tt)*) => {
734 $crate::clap_app!{ @arg ($arg.value_name(stringify!($var))) (+) $($tail)* }
736 (@arg ($arg:expr) $modes:tt ... $($tail:tt)*) => {
737 $crate::clap_app!{ @arg ($arg) $modes +multiple +takes_value $($tail)* }
740 (@arg ($arg:expr) $modes:tt #{$n:expr, $m:expr} $($tail:tt)*) => {
741 $crate::clap_app!{ @arg ($arg) $modes min_values($n) max_values($m) $($tail)* }
743 (@arg ($arg:expr) $modes:tt * $($tail:tt)*) => {
744 $crate::clap_app!{ @arg ($arg) $modes +required $($tail)* }
747 (@arg ($arg:expr) $modes:tt !$ident:ident $($tail:tt)*) => {
748 $crate::clap_app!{ @arg ($arg.$ident(false)) $modes $($tail)* }
751 (@arg ($arg:expr) $modes:tt +$ident:ident $($tail:tt)*) => {
752 $crate::clap_app!{ @arg ($arg.$ident(true)) $modes $($tail)* }
755 (@arg ($arg:expr) $modes:tt {$fn_:expr} $($tail:tt)*) => {
756 $crate::clap_app!{ @arg ($arg.validator($fn_)) $modes $($tail)* }
762 (@arg ($arg:expr) $modes:tt $ident:ident[$($target:ident)*] $($tail:tt)*) => {
763 $crate::clap_app!{ @arg ($arg $( .$ident(stringify!($target)) )*) $modes $($tail)* }
766 (@arg ($arg:expr) $modes:tt $ident:ident($($expr:expr),*) $($tail:tt)*) => {
767 $crate::clap_app!{ @arg ($arg.$ident($($expr),*)) $modes $($tail)* }
770 (@arg ($arg:expr) $modes:tt $ident:ident($($expr:expr,)*) $($tail:tt)*) => {
771 $crate::clap_app!{ @arg ($arg.$ident($($expr),*)) $modes $($tail)* }
775 (@subcommand $name:ident => $($tail:tt)*) => {
776 $crate::clap_app!{ @app ($crate::App::new(stringify!($name))) $($tail)* }
779 (($name:expr) => $($tail:tt)*) => {{
780 $crate::clap_app!{ @app ($crate::App::new($name)) $($tail)*}
783 ($name:ident => $($tail:tt)*) => {{
784 $crate::clap_app!{ @app ($crate::App::new(stringify!($name))) $($tail)*}