Macro fungi_lang::split_comma [] [src]

macro_rules! split_comma {
    {$fun:ident <= $($item:tt)*} => { ... };
    {$fun:ident ($($first:tt)*) <= $($item:tt)*} => { ... };
    {$fun:ident ($($first:tt)*) ($($every:tt)*) <= $($item:tt)*} => { ... };
    {$fun:ident ($($first:tt)*) ($($every:tt)*) ($($current:tt)*) <= , $($item:tt)+} => { ... };
    {$fun:ident ($($first:tt)*) ($($every:tt)*) ($($current:tt)+) <= , } => { ... };
    {$fun:ident ($($first:tt)*) ($($every:tt)*) ($($current:tt)*) <= $next:tt $($item:tt)*} => { ... };
    {$fun:ident ($($first:tt)*) ($($every:tt)*) ($($current:tt)+) <= } => { ... };
    {$fun:ident ($($first:tt)*) () () <= } => { ... };
}

run a macro on a list of lists after splitting the input