oni_comb_parser_rs/extension/parsers/
collect_parsers.rs

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

pub trait CollectParsers: Parsers {
  fn collect<'a, I, A>(parser: Self::P<'a, I, A>) -> Self::P<'a, I, &'a [I]>
  where
    A: Debug + 'a;
}