source: trip-planner-front/node_modules/@angular/compiler/src/provider_analyzer.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.4 KB
Line 
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 */
8import { CompileDirectiveMetadata, CompileNgModuleMetadata, CompileProviderMetadata, CompileQueryMetadata } from './compile_metadata';
9import { CompileReflector } from './compile_reflector';
10import { ParseError, ParseSourceSpan } from './parse_util';
11import { AttrAst, DirectiveAst, ProviderAst, QueryMatch, ReferenceAst } from './template_parser/template_ast';
12export declare class ProviderError extends ParseError {
13 constructor(message: string, span: ParseSourceSpan);
14}
15export interface QueryWithId {
16 meta: CompileQueryMetadata;
17 queryId: number;
18}
19export declare class ProviderViewContext {
20 reflector: CompileReflector;
21 component: CompileDirectiveMetadata;
22 errors: ProviderError[];
23 constructor(reflector: CompileReflector, component: CompileDirectiveMetadata);
24}
25export declare class ProviderElementContext {
26 viewContext: ProviderViewContext;
27 private _parent;
28 private _isViewRoot;
29 private _directiveAsts;
30 private _sourceSpan;
31 private _contentQueries;
32 private _transformedProviders;
33 private _seenProviders;
34 private _allProviders;
35 private _attrs;
36 private _queriedTokens;
37 readonly transformedHasViewContainer: boolean;
38 constructor(viewContext: ProviderViewContext, _parent: ProviderElementContext, _isViewRoot: boolean, _directiveAsts: DirectiveAst[], attrs: AttrAst[], refs: ReferenceAst[], isTemplate: boolean, contentQueryStartId: number, _sourceSpan: ParseSourceSpan);
39 afterElement(): void;
40 get transformProviders(): ProviderAst[];
41 get transformedDirectiveAsts(): DirectiveAst[];
42 get queryMatches(): QueryMatch[];
43 private _addQueryReadsTo;
44 private _getQueriesFor;
45 private _getOrCreateLocalProvider;
46 private _getLocalDependency;
47 private _getDependency;
48}
49export declare class NgModuleProviderAnalyzer {
50 private reflector;
51 private _transformedProviders;
52 private _seenProviders;
53 private _allProviders;
54 private _errors;
55 constructor(reflector: CompileReflector, ngModule: CompileNgModuleMetadata, extraProviders: CompileProviderMetadata[], sourceSpan: ParseSourceSpan);
56 parse(): ProviderAst[];
57 private _getOrCreateLocalProvider;
58 private _getDependency;
59}
Note: See TracBrowser for help on using the repository browser.