Trait bogobble::parser::Parser[][src]

pub trait Parser<'a>: Sized {
    type Out;
    fn parse(&self, it: &PIter<'a>) -> ParseRes<'a, Self::Out>;

    fn parse_s(&self, s: &'a str) -> Result<Self::Out, PErr<'a>> { ... }
fn or<B: Parser<'a, Out = Self::Out>>(self, b: B) -> Or<Self, B> { ... }
fn br(&self) -> BRP<'_, Self> { ... }
fn asv<V: Clone>(self, v: V) -> Asv<Self, V> { ... }
fn map<B, F: Fn(Self::Out) -> B>(self, f: F) -> Map<Self, F> { ... }
fn try_map<B, F: Fn(Self::Out) -> Result<B, Expected>>(
        self,
        f: F
    ) -> TryMap<Self, F> { ... }
fn ig(self) -> Ig<Self> { ... }
fn brk(self) -> Break<Self> { ... } }

Associated Types

Required methods

Provided methods

Borrowed Parser

Implementations on Foreign Types

Implementors

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser

Parse run the main parser