1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | import 'reflect-metadata';
|
12 | import * as compiler from '@angular/compiler';
|
13 | import * as tsc from '@angular/tsc-wrapped';
|
14 | import * as ts from 'typescript';
|
15 | import { ReflectorHost } from './reflector_host';
|
16 | import { StaticReflector } from './static_reflector';
|
17 | export declare class Extractor {
|
18 | private options;
|
19 | private program;
|
20 | host: ts.CompilerHost;
|
21 | private staticReflector;
|
22 | private messageBundle;
|
23 | private reflectorHost;
|
24 | private metadataResolver;
|
25 | constructor(options: tsc.AngularCompilerOptions, program: ts.Program, host: ts.CompilerHost, staticReflector: StaticReflector, messageBundle: compiler.MessageBundle, reflectorHost: ReflectorHost, metadataResolver: compiler.CompileMetadataResolver);
|
26 | extract(): Promise<compiler.MessageBundle>;
|
27 | static create(options: tsc.AngularCompilerOptions, translationsFormat: string, program: ts.Program, compilerHost: ts.CompilerHost, resourceLoader: compiler.ResourceLoader, reflectorHost?: ReflectorHost): Extractor;
|
28 | }
|