UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

31 lines (29 loc) 651 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Symbol display part. */ class SymbolDisplayPart { /** @internal */ constructor(compilerObject) { this._compilerObject = compilerObject; } /** Gets the compiler text span. */ get compilerObject() { return this._compilerObject; } /** * Gets the text. */ getText() { return this.compilerObject.text; } /** * Gets the kind. */ getKind() { return this.compilerObject.kind; } } exports.SymbolDisplayPart = SymbolDisplayPart; //# sourceMappingURL=SymbolDisplayPart.js.map