ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
16 lines (15 loc) • 501 B
TypeScript
import * as ts from "typescript";
import { LiteralLikeNode } from "./../base";
import { Expression } from "./../common";
import { QuoteType } from "./QuoteType";
export declare const StringLiteralBase: (new (...args: any[]) => LiteralLikeNode) & typeof Expression;
export declare class StringLiteral extends StringLiteralBase<ts.StringLiteral> {
/**
* Gets the literal value.
*/
getLiteralValue(): string;
/**
* Gets the quote type.
*/
getQuoteType(): QuoteType;
}