nom::map!
[−]
[src]
macro_rules! map( ($i:expr, $submac:ident!( $($args:tt)* ), $g:expr) => ( map_impl!($i, $submac!($($args)*), call!($g)); ); ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => ( map_impl!($i, $submac!($($args)*), $submac2!($($args2)*),); ); ($i:expr, $f:expr, $g:expr) => ( map_impl!($i, call!($f), call!($g)); ); ($i:expr, $f:expr, $submac:ident!( $($args:tt)* )) => ( map_impl!($i, call!($f), $submac!($($args)*)); ); );
map!(I -> IResult<I,O>, O -> P) => I -> IResult<I, P>
maps a function on the result of a parser