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:
925 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 | import { EmitterVisitorContext, OutputEmitter } from './abstract_emitter';
|
---|
9 | import * as o from './output_ast';
|
---|
10 | export declare function debugOutputAstAsTypeScript(ast: o.Statement | o.Expression | o.Type | any[]): string;
|
---|
11 | export declare type ReferenceFilter = (reference: o.ExternalReference) => boolean;
|
---|
12 | export declare class TypeScriptEmitter implements OutputEmitter {
|
---|
13 | emitStatementsAndContext(genFilePath: string, stmts: o.Statement[], preamble?: string, emitSourceMaps?: boolean, referenceFilter?: ReferenceFilter, importFilter?: ReferenceFilter): {
|
---|
14 | sourceText: string;
|
---|
15 | context: EmitterVisitorContext;
|
---|
16 | };
|
---|
17 | emitStatements(genFilePath: string, stmts: o.Statement[], preamble?: string): string;
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.