nom::separated_pair2!
[−]
[src]
macro_rules! separated_pair2( ($i:expr, $res1:ident, $submac3:ident!( $($args3:tt)* )) => ( { match $submac3!($i, $($args3)*) { $crate::IResult::Error(a) => $crate::IResult::Error(a), $crate::IResult::Incomplete(i) => $crate::IResult::Incomplete(i), $crate::IResult::Done(i3,o3) => { $crate::IResult::Done(i3, ($res1, o3)) } } } ); ($i:expr, $res1:ident, $h:expr) => ( separated_pair2!($i, $res1, call!($h)); ); );
Internal parser, do not use directly