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/ml_parser/html_parser", ["require", "exports", "tslib", "@angular/compiler/src/ml_parser/html_tags", "@angular/compiler/src/ml_parser/parser", "@angular/compiler/src/ml_parser/parser"], factory);
|
---|
15 | }
|
---|
16 | })(function (require, exports) {
|
---|
17 | "use strict";
|
---|
18 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
19 | exports.HtmlParser = exports.TreeError = exports.ParseTreeResult = void 0;
|
---|
20 | var tslib_1 = require("tslib");
|
---|
21 | var html_tags_1 = require("@angular/compiler/src/ml_parser/html_tags");
|
---|
22 | var parser_1 = require("@angular/compiler/src/ml_parser/parser");
|
---|
23 | var parser_2 = require("@angular/compiler/src/ml_parser/parser");
|
---|
24 | Object.defineProperty(exports, "ParseTreeResult", { enumerable: true, get: function () { return parser_2.ParseTreeResult; } });
|
---|
25 | Object.defineProperty(exports, "TreeError", { enumerable: true, get: function () { return parser_2.TreeError; } });
|
---|
26 | var HtmlParser = /** @class */ (function (_super) {
|
---|
27 | tslib_1.__extends(HtmlParser, _super);
|
---|
28 | function HtmlParser() {
|
---|
29 | return _super.call(this, html_tags_1.getHtmlTagDefinition) || this;
|
---|
30 | }
|
---|
31 | HtmlParser.prototype.parse = function (source, url, options) {
|
---|
32 | return _super.prototype.parse.call(this, source, url, options);
|
---|
33 | };
|
---|
34 | return HtmlParser;
|
---|
35 | }(parser_1.Parser));
|
---|
36 | exports.HtmlParser = HtmlParser;
|
---|
37 | });
|
---|
38 | //# sourceMappingURL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