UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

11 lines (10 loc) 429 B
import * as ts from "typescript"; import { LiteralLikeNode } from "./../base"; import { Expression } from "./../common"; export declare const RegularExpressionLiteralBase: (new (...args: any[]) => LiteralLikeNode) & typeof Expression; export declare class RegularExpressionLiteral extends RegularExpressionLiteralBase<ts.RegularExpressionLiteral> { /** * Gets the literal value. */ getLiteralValue(): RegExp; }