oni_comb_parser_rs/extension/parser/
peek_parser.rs

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

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