Function som_parser_core::combinators::not
source · pub fn not<A, I: Clone>(parser: impl Parser<A, I>) -> impl Parser<(), I>
Expand description
Runs the given parser, fails if it succeeded, and succeeds otherwise.
pub fn not<A, I: Clone>(parser: impl Parser<A, I>) -> impl Parser<(), I>
Runs the given parser, fails if it succeeded, and succeeds otherwise.