Struct parsell::InState [] [src]

pub struct InState<P, PState>(_, _);

A parser that knows its current state.

This is produced by parser.in_state(state).

Trait Implementations

impl<P, PState, Ch, Str> HasOutput<Ch, Str> for InState<P, PState> where P: HasOutput<Ch, Str>
[src]

type Output = P::Output

The type of the data being produced by the parser.

impl<P, PState, Ch, Str, Output> Stateful<Ch, Str, Output> for InState<P, PState> where PState: Stateful<Ch, Str, Output>
[src]

fn more(self, string: &mut Str) -> ParseResult<Self, Output>

Provides data to the parser. Read more

fn done(self) -> Output

Tells the parser that it will not receive any more data. Read more

fn last(self, string: &mut Str) -> Output where Self: Sized

Provides the last data to the parser. Read more