Trait cucumber::parser::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 Feature
s.
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.