Project

General

Profile

1
/**
2
 * @license
3
 * Copyright Google Inc. 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
import { AotCompilerHost, AotCompilerOptions, GeneratedFile, NgAnalyzedModules } from '@angular/compiler';
9
import * as ts from 'typescript';
10
import { Diagnostic } from '../transformers/api';
11
export declare class TypeChecker {
12
    private program;
13
    private tsOptions;
14
    private compilerHost;
15
    private aotCompilerHost;
16
    private aotOptions;
17
    private _analyzedModules;
18
    private _generatedFiles;
19
    private _aotCompiler;
20
    private _reflector;
21
    private _factories;
22
    private _factoryNames;
23
    private _diagnosticProgram;
24
    private _diagnosticsByFile;
25
    private _currentCancellationToken;
26
    private _partial;
27
    constructor(program: ts.Program, tsOptions: ts.CompilerOptions, compilerHost: ts.CompilerHost, aotCompilerHost: AotCompilerHost, aotOptions: AotCompilerOptions, _analyzedModules?: NgAnalyzedModules, _generatedFiles?: GeneratedFile[]);
28
    getDiagnostics(fileName?: string, cancellationToken?: ts.CancellationToken): Diagnostic[];
29
    readonly partialResults: boolean;
30
    private readonly analyzedModules;
31
    private readonly diagnosticsByFileName;
32
    private readonly diagnosticProgram;
33
    private readonly generatedFiles;
34
    private readonly aotCompiler;
35
    private readonly reflector;
36
    private readonly factories;
37
    private readonly factoryNames;
38
    private createCompilerAndReflector();
39
    private createDiagnosticProgram();
40
    private createFactories();
41
    private createDiagnosticsByFile();
42
    private sourceSpanOf(source, start, length);
43
}
(1-1/15)