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