Trait cucumber::Parser

source ·
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.

Required 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§