UNPKG

5.6 kBJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. 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-cli/src/language_services", ["require", "exports", "@angular/compiler-cli/src/diagnostics/expression_diagnostics", "@angular/compiler-cli/src/diagnostics/expression_type", "@angular/compiler-cli/src/diagnostics/symbols", "@angular/compiler-cli/src/diagnostics/typescript_symbols", "@angular/compiler-cli/src/metadata/index", "@angular/compiler-cli/src/transformers/metadata_reader"], factory);
15 }
16})(function (require, exports) {
17 "use strict";
18 Object.defineProperty(exports, "__esModule", { value: true });
19 /*
20
21 The API from compiler-cli that language-service can see.
22 It is important that none the exported modules require anything other than
23 Angular modules and Typescript as this will indirectly add a dependency
24 to the language service.
25
26 */
27 var expression_diagnostics_1 = require("@angular/compiler-cli/src/diagnostics/expression_diagnostics");
28 exports.getExpressionDiagnostics = expression_diagnostics_1.getExpressionDiagnostics;
29 exports.getExpressionScope = expression_diagnostics_1.getExpressionScope;
30 exports.getTemplateExpressionDiagnostics = expression_diagnostics_1.getTemplateExpressionDiagnostics;
31 var expression_type_1 = require("@angular/compiler-cli/src/diagnostics/expression_type");
32 exports.AstType = expression_type_1.AstType;
33 exports.DiagnosticKind = expression_type_1.DiagnosticKind;
34 exports.TypeDiagnostic = expression_type_1.TypeDiagnostic;
35 var symbols_1 = require("@angular/compiler-cli/src/diagnostics/symbols");
36 exports.BuiltinType = symbols_1.BuiltinType;
37 var typescript_symbols_1 = require("@angular/compiler-cli/src/diagnostics/typescript_symbols");
38 exports.getClassFromStaticSymbol = typescript_symbols_1.getClassFromStaticSymbol;
39 exports.getClassMembers = typescript_symbols_1.getClassMembers;
40 exports.getClassMembersFromDeclaration = typescript_symbols_1.getClassMembersFromDeclaration;
41 exports.getPipesTable = typescript_symbols_1.getPipesTable;
42 exports.getSymbolQuery = typescript_symbols_1.getSymbolQuery;
43 var metadata_1 = require("@angular/compiler-cli/src/metadata/index");
44 exports.MetadataCollector = metadata_1.MetadataCollector;
45 var metadata_reader_1 = require("@angular/compiler-cli/src/transformers/metadata_reader");
46 exports.createMetadataReaderCache = metadata_reader_1.createMetadataReaderCache;
47 exports.readMetadata = metadata_reader_1.readMetadata;
48});
49//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZ3VhZ2Vfc2VydmljZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21waWxlci1jbGkvc3JjL2xhbmd1YWdlX3NlcnZpY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRzs7Ozs7Ozs7Ozs7O0lBRUg7Ozs7Ozs7TUFPRTtJQUNGLHVHQUFrTDtJQUE1SCw0REFBQSx3QkFBd0IsQ0FBQTtJQUFFLHNEQUFBLGtCQUFrQixDQUFBO0lBQUUsb0VBQUEsZ0NBQWdDLENBQUE7SUFDcEkseUZBQW9IO0lBQTVHLG9DQUFBLE9BQU8sQ0FBQTtJQUFFLDJDQUFBLGNBQWMsQ0FBQTtJQUFnQywyQ0FBQSxjQUFjLENBQUE7SUFDN0UseUVBQWdMO0lBQXhLLGdDQUFBLFdBQVcsQ0FBQTtJQUNuQiwrRkFBMEo7SUFBbEosd0RBQUEsd0JBQXdCLENBQUE7SUFBRSwrQ0FBQSxlQUFlLENBQUE7SUFBRSw4REFBQSw4QkFBOEIsQ0FBQTtJQUFFLDZDQUFBLGFBQWEsQ0FBQTtJQUFFLDhDQUFBLGNBQWMsQ0FBQTtJQUNoSCxxRUFBNkQ7SUFBckQsdUNBQUEsaUJBQWlCLENBQUE7SUFFekIsMEZBQWdJO0lBQS9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