nom::terminated!
[−]
[src]
macro_rules! terminated { ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => { ... }; ($i:expr, $submac:ident!( $($args:tt)* ), $g:expr) => { ... }; ($i:expr, $f:expr, $submac:ident!( $($args:tt)* )) => { ... }; ($i:expr, $f:expr, $g:expr) => { ... }; }
terminated!(I -> IResult<I,O>, I -> IResult<I,T>) => I -> IResult<I, O>
terminated(X, closing) returns X