[−][src]Trait autumn::Parser
A parser takes an input source and produces an array of potential tagged values and an array of errors.
Required methods
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
Implementations on Foreign Types
impl<E> Parser<char, E> for char
[src]
impl<'_, E> Parser<char, E> for &'_ char
[src]
impl<E> Parser<Span, E> for str
[src]
impl<'_, E> Parser<Span, E> for &'_ str
[src]
impl<E> Parser<Span, E> for String
[src]
Loading content...
Implementors
impl<'p, T, E> Parser<T, E> for Boxed<dyn Parser<T, E> + 'p>
[src]
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<A, B, T, E> Parser<T, E> for And<A, B, E> where
T: Concat + Clone,
A: Parser<T, E>,
B: Parser<T, E>,
[src]
T: Concat + Clone,
A: Parser<T, E>,
B: Parser<T, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<A, B, T: Clone, E> Parser<T, E> for OnFailure<A, B, E> where
A: Parser<T, E>,
B: Parser<T, E>,
[src]
A: Parser<T, E>,
B: Parser<T, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<A, B, T: Clone, E> Parser<T, E> for OnNone<A, B, E> where
A: Parser<T, E>,
B: Parser<T, E>,
[src]
A: Parser<T, E>,
B: Parser<T, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<A, B, T: Clone, E> Parser<T, E> for Or<A, B, E> where
A: Parser<T, E>,
B: Parser<T, E>,
[src]
A: Parser<T, E>,
B: Parser<T, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<A, B, T: Clone, V, E> Parser<T, E> for Drop<A, B, V, E> where
A: Parser<T, E>,
B: Parser<V, E>,
[src]
A: Parser<T, E>,
B: Parser<V, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, T, E>
[src]
impl<E, P: Parser<Span, E>> Parser<String, E> for StringMap<P, E>
[src]
impl<E, P: Parser<Span, E>, F: Fn(&str) -> bool> Parser<Span, E> for StrCondition<P, F, E>
[src]
impl<P, F, T, E, Q, V> Parser<V, E> for AndThen<P, F, T, E> where
P: Parser<T, E>,
Q: Parser<V, E>,
F: Fn(T) -> Q,
[src]
P: Parser<T, E>,
Q: Parser<V, E>,
F: Fn(T) -> Q,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, V, E>
[src]
impl<P, F, T, E, V> Parser<V, E> for Map<P, F, T, E> where
P: Parser<T, E>,
F: Fn(T) -> V,
[src]
P: Parser<T, E>,
F: Fn(T) -> V,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, V, E>
[src]
impl<P, Q, T, V, E> Parser<V, E> for Skip<P, Q, T, E> where
P: Parser<T, E>,
Q: Parser<V, E>,
[src]
P: Parser<T, E>,
Q: Parser<V, E>,
fn parse<'s>(&self, source: &'s str, location: Span) -> ParseResult<'s, V, E>
[src]
impl<T, E, F> Parser<T, E> for F where
F: for<'s> Fn(&'s str, Span) -> ParseResult<'s, T, E>,
[src]
F: for<'s> Fn(&'s str, Span) -> ParseResult<'s, T, E>,