oni_comb_parser_rs/extension/parsers/
peek_parsers.rs

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

pub trait PeekParsers: Parsers {
  fn peek<'a, I, A>(parser: Self::P<'a, I, A>) -> Self::P<'a, I, A>
  where
    A: Debug + 'a;
}