Trait rusty_parser::Parser
source · pub trait Parser<It>where
It: InputIteratorTrait,{
type Output: Tuple;
// Required method
fn parse(&self, it: It) -> ParseResult<Self::Output, It>;
// Provided method
fn match_pattern(&self, it: It) -> ParseResult<(), It> { ... }
}Expand description
Parser trait all parsers must implement this trait