gherkin-ast
Version:
JS model for Gherkin feature files
12 lines (11 loc) • 408 B
TypeScript
import { GherkinComment } from "../gherkinObject";
import { UniqueObject } from "./uniqueObject";
export declare class Comment extends UniqueObject {
static parse(...objs: GherkinComment[]): Comment;
/** The text of the comment, including '#'. */
text: string;
constructor(text: string);
clone(): Comment;
replace(key: RegExp | string, value: string): void;
toString(): string;
}