Trait markab_parser::Parseable
source · pub trait Parseable<'a, 'b> {
type Error: Error<'a, 'b>;
type Output: 'b;
fn parse(src: &'b str, pos: &mut usize) -> Result<Self::Output, Self::Error>;
fn name() -> &'a str;
fn skip(src: &'b str, pos: &mut usize) -> Option<Self::Error> { ... }
fn get_parser() -> ParseableParser<'a, 'b, Self>
where
Self: Sized,
{ ... }
}