UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for static analysis and code manipulation.

19 lines (18 loc) 740 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var common_1 = require("../common"); exports.NamedExportsBase = common_1.Node; var NamedExports = /** @class */ (function (_super) { tslib_1.__extends(NamedExports, _super); function NamedExports() { return _super !== null && _super.apply(this, arguments) || this; } /** Gets the export specifiers. */ NamedExports.prototype.getElements = function () { var _this = this; return this.compilerNode.elements.map(function (e) { return _this._getNodeFromCompilerNode(e); }); }; return NamedExports; }(exports.NamedExportsBase)); exports.NamedExports = NamedExports;