// macro_rules! parser_with_context { // ($name:ident,$typ:ty,$inp:ident,$context:ident,$fnbody:block) => { // pub fn $name<'c>( // $context: NomContext<'c, &str, &str, VerboseError<&str>>, // ) -> impl for<'a> FnMut(&'a str) -> IResult<&'a str, $typ, VerboseError<&'a str>> + 'c { // |$inp| $fnbody // } // }; // } // use nom::error::VerboseError; // use nom::IResult; // pub(crate) use parser_with_context; // use super::nom_context::NomContext;