(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define("@angular/compiler/src/summary_resolver", ["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.JitSummaryResolver = exports.SummaryResolver = void 0; var SummaryResolver = /** @class */ (function () { function SummaryResolver() { } return SummaryResolver; }()); exports.SummaryResolver = SummaryResolver; var JitSummaryResolver = /** @class */ (function () { function JitSummaryResolver() { this._summaries = new Map(); } JitSummaryResolver.prototype.isLibraryFile = function () { return false; }; JitSummaryResolver.prototype.toSummaryFileName = function (fileName) { return fileName; }; JitSummaryResolver.prototype.fromSummaryFileName = function (fileName) { return fileName; }; JitSummaryResolver.prototype.resolveSummary = function (reference) { return this._summaries.get(reference) || null; }; JitSummaryResolver.prototype.getSymbolsOf = function () { return []; }; JitSummaryResolver.prototype.getImportAs = function (reference) { return reference; }; JitSummaryResolver.prototype.getKnownModuleName = function (fileName) { return null; }; JitSummaryResolver.prototype.addSummary = function (summary) { this._summaries.set(summary.symbol, summary); }; return JitSummaryResolver; }()); exports.JitSummaryResolver = JitSummaryResolver; }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VtbWFyeV9yZXNvbHZlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy9zdW1tYXJ5X3Jlc29sdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztJQWdCQTtRQUFBO1FBU0EsQ0FBQztRQUFELHNCQUFDO0lBQUQsQ0FBQyxBQVRELElBU0M7SUFUcUIsMENBQWU7SUFXckM7UUFBQTtZQUNVLGVBQVUsR0FBRyxJQUFJLEdBQUcsRUFBdUIsQ0FBQztRQTBCdEQsQ0FBQztRQXhCQyww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