UNPKG

gherkin

Version:
13 lines (12 loc) 510 B
/// <reference types="node" /> import { Transform, TransformCallback } from 'stream'; import { messages } from 'cucumber-messages'; import IGherkinOptions from '../IGherkinOptions'; /** * Stream that reads Source messages and writes GherkinDocument and Pickle messages. */ export default class ParserMessageStream extends Transform { private readonly options; constructor(options: IGherkinOptions); _transform(envelope: messages.IEnvelope, encoding: string, callback: TransformCallback): void; }