oni_comb_parser_rs/internal/parser_impl/
not_impl.rs

1use crate::core::Parser;
2use crate::extension::parsers::OperatorParsers;
3use crate::internal::ParsersImpl;
4use std::fmt::Debug;
5use std::ops::Not;
6
7impl<'a, I, A> Not for Parser<'a, I, A>
8where
9  A: Debug + 'a,
10{
11  type Output = Parser<'a, I, ()>;
12
13  fn not(self) -> Self::Output {
14    ParsersImpl::not(self)
15  }
16}