Last change
on this file 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 | */
|
---|
9 | import * as ts from 'typescript';
|
---|
10 | import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
---|
11 | import { NgccReflectionHost } from '../host/ngcc_host';
|
---|
12 | import { NgccReferencesRegistry } from './ngcc_references_registry';
|
---|
13 | export interface ExportInfo {
|
---|
14 | identifier: string;
|
---|
15 | from: AbsoluteFsPath;
|
---|
16 | dtsFrom?: AbsoluteFsPath | null;
|
---|
17 | }
|
---|
18 | export 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 | */
|
---|
23 | export 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.