Lines Matching refs:tt

319     (@impls ( $($tts:tt)* ) -> ($e:ident, $($v:ident),+)) => {
668 (@app ($builder:expr) (@arg ($name:expr): $($tail:tt)*) $($tt:tt)*) => {
672 $($tt)*
675 (@app ($builder:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => {
679 $($tt)*
682 (@app ($builder:expr) (@setting $setting:ident) $($tt:tt)*) => {
685 $($tt)*
689 (@app ($builder:expr) (@attributes $($attr:tt)*) $($tt:tt)*) => {
690 clap_app!{ @app (clap_app!{ @arg ($builder) $($attr)* }) $($tt)* }
692 (@app ($builder:expr) (@group $name:ident => $($tail:tt)*) $($tt:tt)*) => {
695 $($tt)*
698 (@app ($builder:expr) (@group $name:ident !$ident:ident => $($tail:tt)*) $($tt:tt)*) => {
701 $($tt)*
704 (@app ($builder:expr) (@group $name:ident +$ident:ident => $($tail:tt)*) $($tt:tt)*) => {
707 $($tt)*
711 (@app ($builder:expr) (@subcommand $name:ident => $($tail:tt)*) $($tt:tt)*) => {
716 $($tt)*
720 (@app ($builder:expr) ($ident:ident: $($v:expr),*) $($tt:tt)*) => {
724 $($tt)*
731 (@group ($builder:expr, $group:expr) (@attributes $($attr:tt)*) $($tt:tt)*) => {
732 clap_app!{ @group ($builder, clap_app!{ @arg ($group) (-) $($attr)* }) $($tt)* }
734 (@group ($builder:expr, $group:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => {
738 $($tt)*
743 (@arg ($arg:expr) $modes:tt) => { $arg };
745 (@arg ($arg:expr) $modes:tt --($long:expr) $($tail:tt)*) => {
748 (@arg ($arg:expr) $modes:tt --$long:ident $($tail:tt)*) => {
751 (@arg ($arg:expr) $modes:tt -$short:ident $($tail:tt)*) => {
754 (@arg ($arg:expr) (-) <$var:ident> $($tail:tt)*) => {
757 (@arg ($arg:expr) (+) <$var:ident> $($tail:tt)*) => {
760 (@arg ($arg:expr) (-) [$var:ident] $($tail:tt)*) => {
763 (@arg ($arg:expr) (+) [$var:ident] $($tail:tt)*) => {
766 (@arg ($arg:expr) $modes:tt ... $($tail:tt)*) => {
770 (@arg ($arg:expr) $modes:tt #{$n:expr, $m:expr} $($tail:tt)*) => {
773 (@arg ($arg:expr) $modes:tt * $($tail:tt)*) => {
777 (@arg ($arg:expr) $modes:tt !$ident:ident $($tail:tt)*) => {
781 (@arg ($arg:expr) $modes:tt +$ident:ident $($tail:tt)*) => {
785 (@arg ($arg:expr) $modes:tt {$fn_:expr} $($tail:tt)*) => {
790 (@arg ($arg:expr) $modes:tt $desc:tt) => { $arg.help(clap_app!{ @as_expr $desc }) };
792 (@arg ($arg:expr) $modes:tt $ident:ident[$($target:ident)*] $($tail:tt)*) => {
796 (@arg ($arg:expr) $modes:tt $ident:ident($($expr:expr),*) $($tail:tt)*) => {
800 (@arg ($arg:expr) $modes:tt $ident:ident($($expr:expr,)*) $($tail:tt)*) => {
805 (@subcommand $name:ident => $($tail:tt)*) => {
809 (($name:expr) => $($tail:tt)*) => {{
813 ($name:ident => $($tail:tt)*) => {{
842 ($($arg:tt)*) => ({
854 ($fmt:expr, $($arg:tt)*) => (println!(concat!("DEBUG:clap:",$fmt), $($arg)*));
858 ($fmt:expr, $($arg:tt)*) => (println!($fmt, $($arg)*));
862 ($fmt:expr, $($arg:tt)*) => (print!(concat!("DEBUG:clap:",$fmt), $($arg)*));
866 ($fmt:expr, $($arg:tt)*) => (print!($fmt, $($arg)*));
875 ($fmt:expr, $($arg:tt)*) => {};
879 ($fmt:expr, $($arg:tt)*) => {};
883 ($fmt:expr, $($arg:tt)*) => {};