[−][src]Trait melib::parsec::Parser
Required methods
Loading content...Provided methods
fn parse_complete(&self, input: &'a str) -> Result<'a, Output>
fn map<F, NewOutput>(self, map_fn: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
fn and_then<F, NextParser, NewOutput>(self, f: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
Implementors
impl<'a, F, Output> Parser<'a, Output> for F where
F: Fn(&'a str) -> Result<'_, Output>,
[src]
F: Fn(&'a str) -> Result<'_, Output>,