source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.d.ts@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/analysis/private_declarations_analyzer" />
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9import * as ts from 'typescript';
10import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
11import { NgccReflectionHost } from '../host/ngcc_host';
12import { NgccReferencesRegistry } from './ngcc_references_registry';
13export interface ExportInfo {
14 identifier: string;
15 from: AbsoluteFsPath;
16 dtsFrom?: AbsoluteFsPath | null;
17}
18export declare type PrivateDeclarationsAnalyses = ExportInfo[];
19/**
20 * This class will analyze a program to find all the declared classes
21 * (i.e. on an NgModule) that are not publicly exported via an entry-point.
22 */
23export declare class PrivateDeclarationsAnalyzer {
24 private host;
25 private referencesRegistry;
26 constructor(host: NgccReflectionHost, referencesRegistry: NgccReferencesRegistry);
27 analyzeProgram(program: ts.Program): PrivateDeclarationsAnalyses;
28 private getRootFiles;
29 private getPrivateDeclarations;
30}
Note: See TracBrowser for help on using the repository browser.