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>

type Output = P::Output

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

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

fn done(self) -> Output

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