import { RegularExpressionLiteral } from "https://dotland.deno.dev/x/ts_morph@21.0.0/mod.ts";
Methods
getParent(): NodeParentType<ts.RegularExpressionLiteral>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.RegularExpressionLiteral>>
setLiteralValue(pattern: string, flags?: string): this
Sets the literal value according to a pattern and some flags.
setLiteralValue(regExp: RegExp): this
Sets the literal value according to a regular expression object.