source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/packages/bundle_program.d.ts@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/packages/bundle_program" />
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, ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
11/**
12 * An entry point bundle contains one or two programs, e.g. `src` and `dts`,
13 * that are compiled via TypeScript.
14 *
15 * To aid with processing the program, this interface exposes the program itself,
16 * as well as path and TS file of the entry-point to the program and the r3Symbols
17 * file, if appropriate.
18 */
19export interface BundleProgram {
20 program: ts.Program;
21 options: ts.CompilerOptions;
22 host: ts.CompilerHost;
23 path: AbsoluteFsPath;
24 file: ts.SourceFile;
25 package: AbsoluteFsPath;
26 r3SymbolsPath: AbsoluteFsPath | null;
27 r3SymbolsFile: ts.SourceFile | null;
28}
29/**
30 * Create a bundle program.
31 */
32export declare function makeBundleProgram(fs: ReadonlyFileSystem, isCore: boolean, pkg: AbsoluteFsPath, path: AbsoluteFsPath, r3FileName: string, options: ts.CompilerOptions, host: ts.CompilerHost, additionalFiles?: AbsoluteFsPath[]): BundleProgram;
33/**
34 * Search the given directory hierarchy to find the path to the `r3_symbols` file.
35 */
36export declare function findR3SymbolsPath(fs: ReadonlyFileSystem, directory: AbsoluteFsPath, filename: string): AbsoluteFsPath | null;
Note: See TracBrowser for help on using the repository browser.