pub fn inspect<'a, P1, A, N: Node>(
msg: &'a str,
parser: P1,
) -> impl Fn(ParseInput<'_, N>) -> Result<(ParseInput<'_, N>, A), ParseError> + 'a
Expand description
Emits a message to stderr from within the parser combinator. This can be useful for debugging.