gherkin-ast
Version:
JS model for Gherkin feature files
22 lines (21 loc) • 753 B
TypeScript
import { GherkinCommentHandler } from "../common";
import { GherkinDocString } from "../gherkinObject";
import { Comment } from "./comment";
import { UniqueObject } from "./uniqueObject";
/**
* Model for DocString
*/
export declare class DocString extends UniqueObject {
static parse(obj: GherkinDocString, comments?: GherkinCommentHandler): DocString;
/** Content of the DocString */
content: string;
/** Delimiter of the DocString */
delimiter: string;
/** Media type of the DocString */
mediaType: string;
/** Comment of the DocString */
comment: Comment;
constructor(content: string, delimiter?: string, mediaType?: string);
clone(): DocString;
replace(key: RegExp | string, value: string): void;
}