pub struct RecursiveParser<I: ?Sized, O, F>{ /* private fields */ }Trait Implementations§
Source§impl<I: ?Sized, O, F> Clone for RecursiveParser<I, O, F>
impl<I: ?Sized, O, F> Clone for RecursiveParser<I, O, F>
Source§impl<I: ?Sized, O, F> Parser for RecursiveParser<I, O, F>
impl<I: ?Sized, O, F> Parser for RecursiveParser<I, O, F>
Source§impl<I: ?Sized, O, F> ParserCombinator for RecursiveParser<I, O, F>
impl<I: ?Sized, O, F> ParserCombinator for RecursiveParser<I, O, F>
Source§fn then<P: Parser<I = Self::I>>(&self, p: P) -> ChainedParser<Self, P>
fn then<P: Parser<I = Self::I>>(&self, p: P) -> ChainedParser<Self, P>
Chain this parser with another parser, creating new parser that returns a
tuple of their results
Source§fn then_r<P: ParserCombinator<I = Self::I>>(
&self,
p: P,
) -> MapParser<Self::I, ChainedParser<Self, P>, P::O>
fn then_r<P: ParserCombinator<I = Self::I>>( &self, p: P, ) -> MapParser<Self::I, ChainedParser<Self, P>, P::O>
Chain this parser with another parser, but toss the value from this parser
Source§fn then_l<P: ParserCombinator<I = Self::I>>(
&self,
p: P,
) -> MapParser<Self::I, ChainedParser<Self, P>, Self::O>
fn then_l<P: ParserCombinator<I = Self::I>>( &self, p: P, ) -> MapParser<Self::I, ChainedParser<Self, P>, Self::O>
Chain this parser with another parser, but toss the value from the other parser
Source§fn repeat(&self) -> RepeatParser<Self>
fn repeat(&self) -> RepeatParser<Self>
Create a new parser that will repeat this parser until it returns an error
Auto Trait Implementations§
impl<I, O, F> !Send for RecursiveParser<I, O, F>
impl<I, O, F> !Sync for RecursiveParser<I, O, F>
impl<I, O, F> Freeze for RecursiveParser<I, O, F>
impl<I, O, F> RefUnwindSafe for RecursiveParser<I, O, F>
impl<I, O, F> Unpin for RecursiveParser<I, O, F>
impl<I, O, F> UnsafeUnpin for RecursiveParser<I, O, F>
impl<I, O, F> UnwindSafe for RecursiveParser<I, O, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more