oni_comb_parser_rs/extension/parser/
cache_parser.rs

1use crate::core::ParserRunner;
2use std::fmt::Debug;
3
4pub trait CacheParser<'a>: ParserRunner<'a> {
5  fn cache(self) -> Self::P<'a, Self::Input, Self::Output>
6  where
7    Self::Input: Clone + 'a,
8    Self::Output: Clone + Debug + 'a;
9}