1 | /// <amd-module name="@angular/compiler-cli/linker/src/file_linker/linker_environment" />
|
---|
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 { ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
|
---|
10 | import { Logger } from '../../../src/ngtsc/logging';
|
---|
11 | import { SourceFileLoader } from '../../../src/ngtsc/sourcemaps';
|
---|
12 | import { AstFactory } from '../../../src/ngtsc/translator';
|
---|
13 | import { AstHost } from '../ast/ast_host';
|
---|
14 | import { LinkerOptions } from './linker_options';
|
---|
15 | import { Translator } from './translator';
|
---|
16 | export declare class LinkerEnvironment<TStatement, TExpression> {
|
---|
17 | readonly fileSystem: ReadonlyFileSystem;
|
---|
18 | readonly logger: Logger;
|
---|
19 | readonly host: AstHost<TExpression>;
|
---|
20 | readonly factory: AstFactory<TStatement, TExpression>;
|
---|
21 | readonly options: LinkerOptions;
|
---|
22 | readonly translator: Translator<TStatement, TExpression>;
|
---|
23 | readonly sourceFileLoader: SourceFileLoader | null;
|
---|
24 | private constructor();
|
---|
25 | static create<TStatement, TExpression>(fileSystem: ReadonlyFileSystem, logger: Logger, host: AstHost<TExpression>, factory: AstFactory<TStatement, TExpression>, options: Partial<LinkerOptions>): LinkerEnvironment<TStatement, TExpression>;
|
---|
26 | }
|
---|