source: trip-planner-front/node_modules/@angular/compiler-cli/src/metadata/bundler.d.ts@ 59329aa

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

initial commit

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/// <amd-module name="@angular/compiler-cli/src/metadata/bundler" />
2import * as ts from 'typescript';
3import { MetadataCache } from '../transformers/metadata_cache';
4import { MetadataEntry, ModuleMetadata } from './schema';
5export interface BundleEntries {
6 [name: string]: MetadataEntry;
7}
8export interface BundlePrivateEntry {
9 privateName: string;
10 name: string;
11 module: string;
12}
13export interface BundledModule {
14 metadata: ModuleMetadata;
15 privates: BundlePrivateEntry[];
16}
17export interface MetadataBundlerHost {
18 getMetadataFor(moduleName: string, containingFile: string): ModuleMetadata | undefined;
19}
20export declare class MetadataBundler {
21 private root;
22 private importAs;
23 private host;
24 private symbolMap;
25 private metadataCache;
26 private exports;
27 private rootModule;
28 private privateSymbolPrefix;
29 private exported;
30 constructor(root: string, importAs: string | undefined, host: MetadataBundlerHost, privateSymbolPrefix?: string);
31 getMetadataBundle(): BundledModule;
32 static resolveModule(importName: string, from: string): string;
33 private getMetadata;
34 private exportAll;
35 /**
36 * Fill in the canonicalSymbol which is the symbol that should be imported by factories.
37 * The canonical symbol is the one exported by the index file for the bundle or definition
38 * symbol for private symbols that are not exported by bundle index.
39 */
40 private canonicalizeSymbols;
41 private canonicalizeSymbol;
42 private getEntries;
43 private getReExports;
44 private convertSymbol;
45 private convertEntry;
46 private convertClass;
47 private convertMembers;
48 private convertMember;
49 private convertStatics;
50 private convertFunction;
51 private convertValue;
52 private convertExpression;
53 private convertError;
54 private convertReference;
55 private convertExpressionNode;
56 private symbolOf;
57 private canonicalSymbolOf;
58}
59export declare class CompilerHostAdapter implements MetadataBundlerHost {
60 private host;
61 private cache;
62 private options;
63 private collector;
64 constructor(host: ts.CompilerHost, cache: MetadataCache | null, options: ts.CompilerOptions);
65 getMetadataFor(fileName: string, containingFile: string): ModuleMetadata | undefined;
66}
Note: See TracBrowser for help on using the repository browser.