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:
828 bytes
|
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 | */
|
---|
8 | /// <amd-module name="@angular/compiler-cli/src/transformers/metadata_reader" />
|
---|
9 | import { ModuleMetadata } from '../metadata';
|
---|
10 | export interface MetadataReaderHost {
|
---|
11 | getSourceFileMetadata(filePath: string): ModuleMetadata | undefined;
|
---|
12 | cacheMetadata?(fileName: string): boolean;
|
---|
13 | fileExists(filePath: string): boolean;
|
---|
14 | readFile(filePath: string): string;
|
---|
15 | }
|
---|
16 | export interface MetadataReaderCache {
|
---|
17 | }
|
---|
18 | export declare function createMetadataReaderCache(): MetadataReaderCache;
|
---|
19 | export declare function readMetadata(filePath: string, host: MetadataReaderHost, cache?: MetadataReaderCache): ModuleMetadata[] | undefined;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.