UNPKG

gherkin-ast

Version:

JS model for Gherkin feature files

24 lines (23 loc) 864 B
import { GherkinCommentHandler } from "../common"; import { GherkinScenario } from "../gherkinObject"; import { Comment } from "./comment"; import { Element } from "./element"; import { Examples } from "./examples"; import { Scenario } from "./scenario"; import { Tag } from "./tag"; /** * Model for ScenarioOutline */ export declare class ScenarioOutline extends Element { static parse(obj: GherkinScenario, comments?: GherkinCommentHandler): ScenarioOutline; /** Zags of the ScenarioOutline */ tags: Tag[]; /** Examples of the ScenarioOutline */ examples: Examples[]; /** Comment of all the tags */ tagComment: Comment; constructor(keyword: string, name: string, description: string); replace(key: RegExp | string, value: string): void; clone(): ScenarioOutline; toScenario(columnToAddAsTag?: number): Scenario[]; }