oni_comb_parser_rs/extension/parser/
discard_parser.rs

1
2
3
4
5
6
7
8
use crate::core::ParserRunner;
use std::fmt::Debug;

pub trait DiscardParser<'a>: ParserRunner<'a> {
  fn discard(self) -> Self::P<'a, Self::Input, ()>
  where
    Self::Output: Debug + 'a;
}