logo

Trait cucumber::Parser[][src]

pub trait Parser<I> {
    type Cli: Args;
    type Output: Stream<Item = Result<Feature>> + 'static;
    fn parse(self, input: I, cli: Self::Cli) -> Self::Output;
}
Expand description

Source of parsed Features.

Associated Types

CLI options of this Parser. In case no options should be introduced, just use cli::Empty.

All CLI options from Parser, Runner and Writer will be merged together, so overlapping arguments will cause a runtime panic.

Output [Stream] of parsed Features.

Required methods

Parses the given input into a [Stream] of Features.

Implementors