[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | (function (factory) {
|
---|
| 9 | if (typeof module === "object" && typeof module.exports === "object") {
|
---|
| 10 | var v = factory(require, exports);
|
---|
| 11 | if (v !== undefined) module.exports = v;
|
---|
| 12 | }
|
---|
| 13 | else if (typeof define === "function" && define.amd) {
|
---|
| 14 | define("@angular/compiler/src/i18n/parse_util", ["require", "exports", "tslib", "@angular/compiler/src/parse_util"], factory);
|
---|
| 15 | }
|
---|
| 16 | })(function (require, exports) {
|
---|
| 17 | "use strict";
|
---|
| 18 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 19 | exports.I18nError = void 0;
|
---|
| 20 | var tslib_1 = require("tslib");
|
---|
| 21 | var parse_util_1 = require("@angular/compiler/src/parse_util");
|
---|
| 22 | /**
|
---|
| 23 | * An i18n error.
|
---|
| 24 | */
|
---|
| 25 | var I18nError = /** @class */ (function (_super) {
|
---|
| 26 | tslib_1.__extends(I18nError, _super);
|
---|
| 27 | function I18nError(span, msg) {
|
---|
| 28 | return _super.call(this, span, msg) || this;
|
---|
| 29 | }
|
---|
| 30 | return I18nError;
|
---|
| 31 | }(parse_util_1.ParseError));
|
---|
| 32 | exports.I18nError = I18nError;
|
---|
| 33 | });
|
---|
| 34 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfdXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy9pMThuL3BhcnNlX3V0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Oz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