Trait parsimonious::GuardedParser
[−]
[src]
pub trait GuardedParser { fn or_else<P>(self, other: P) -> OrElseGuardedParser<Self, P> where Self: Sized, P: GuardedParser { ... } fn or_emit<F>(self, factory: F) -> OrEmitParser<Self, F> where Self: Sized { ... } fn and_then<P>(self, other: P) -> AndThenGuardedParser<Self, P> where Self: Sized, P: Parser { ... } fn plus<F>(self, factory: F) -> PlusParser<Self, F> where Self: Sized { ... } fn star<F>(self, factory: F) -> StarParser<Self, F> where Self: Sized { ... } fn map<F>(self, f: F) -> MapGuardedParser<Self, F> where Self: Sized { ... } fn buffer(self) -> BufferedGuardedParser<Self> where Self: Sized { ... } }
Provided Methods
fn or_else<P>(self, other: P) -> OrElseGuardedParser<Self, P> where Self: Sized, P: GuardedParser
fn or_emit<F>(self, factory: F) -> OrEmitParser<Self, F> where Self: Sized
fn and_then<P>(self, other: P) -> AndThenGuardedParser<Self, P> where Self: Sized, P: Parser
fn plus<F>(self, factory: F) -> PlusParser<Self, F> where Self: Sized
fn star<F>(self, factory: F) -> StarParser<Self, F> where Self: Sized
fn map<F>(self, f: F) -> MapGuardedParser<Self, F> where Self: Sized
fn buffer(self) -> BufferedGuardedParser<Self> where Self: Sized
Implementors
impl<P, F> GuardedParser for MapGuardedParser<P, F> where P: GuardedParser
impl<P, Q> GuardedParser for AndThenGuardedParser<P, Q> where P: GuardedParser, Q: Parser
impl<P, Q> GuardedParser for OrElseGuardedParser<P, Q> where P: GuardedParser, Q: GuardedParser
impl<P, F> GuardedParser for PlusParser<P, F> where P: Copy + GuardedParser
impl<F> GuardedParser for CharacterParser<F> where F: Fn(char) -> bool
impl<P> GuardedParser for BufferedGuardedParser<P> where P: GuardedParser