macro_rules! gen_inner_combinator_type {
() => { ... };
((, $first:ty) $(; ($($modifier:ident $(($modifier_arg:expr))?)?, $rest:ty))*) => { ... };
((optional, $first:ty) $(; ($($modifier:ident $(($modifier_arg:expr))?)?, $rest:ty))*) => { ... };
((default($_:expr), $first:ty) $(; ($($modifier:ident $(($modifier_arg:expr))?)?, $rest:ty))*) => { ... };
((tail, $first:ty)) => { ... };
}
Expand description
gen_inner_combinator_type!((optional, type1); (, type2); (default(v), type3))