gherkin-ast
Version:
JS model for Gherkin feature files
19 lines (18 loc) • 624 B
TypeScript
import { GherkinCommentHandler } from "../common";
import { GherkinScenario } from "../gherkinObject";
import { Comment } from "./comment";
import { Element } from "./element";
import { Tag } from "./tag";
/**
* Model for Scenario
*/
export declare class Scenario extends Element {
static parse(obj: GherkinScenario, comments?: GherkinCommentHandler): Scenario;
/** CTags of the Scenario */
tags: Tag[];
/** Comment of the tags */
tagComment: Comment;
constructor(keyword: string, name: string, description: string);
replace(key: RegExp | string, value: string): void;
clone(): Scenario;
}