@angular/compiler
Version:
Angular - the compiler library
33 lines • 2.27 kB
JavaScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(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/i18n/parse_util", ["require", "exports", "tslib", "@angular/compiler/src/parse_util"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var parse_util_1 = require("@angular/compiler/src/parse_util");
/**
* An i18n error.
*/
var I18nError = /** @class */ (function (_super) {
tslib_1.__extends(I18nError, _super);
function I18nError(span, msg) {
return _super.call(this, span, msg) || this;
}
return I18nError;
}(parse_util_1.ParseError));
exports.I18nError = I18nError;
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfdXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy9pMThuL3BhcnNlX3V0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7O0lBRUgsK0RBQTBEO0lBRTFEOztPQUVHO0lBQ0g7UUFBK0IscUNBQVU7UUFDdkMsbUJBQVksSUFBcUIsRUFBRSxHQUFXO21CQUFJLGtCQUFNLElBQUksRUFBRSxHQUFHLENBQUM7UUFBRSxDQUFDO1FBQ3ZFLGdCQUFDO0lBQUQsQ0FBQyxBQUZELENBQStCLHVCQUFVLEdBRXhDO0lBRlksOEJBQVMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h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