source: trip-planner-front/node_modules/@angular/compiler/src/output/ts_emitter.d.ts@ e29cc2e

Last change on this file since e29cc2e 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 */
8import { EmitterVisitorContext, OutputEmitter } from './abstract_emitter';
9import * as o from './output_ast';
10export declare function debugOutputAstAsTypeScript(ast: o.Statement | o.Expression | o.Type | any[]): string;
11export declare type ReferenceFilter = (reference: o.ExternalReference) => boolean;
12export 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.