pub fn token_function<'a>(
function_name: &'static str,
) -> impl Fn(&mut InnerZ80Span) -> PResult<LocatedToken, Z80ParserError>
Expand description
Parser for functions taking into argument a token
pub fn token_function<'a>(
function_name: &'static str,
) -> impl Fn(&mut InnerZ80Span) -> PResult<LocatedToken, Z80ParserError>
Parser for functions taking into argument a token