source: trip-planner-front/node_modules/@angular/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/// <amd-module name="@angular/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1" />
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9import { ConstantPool, R3PartialDeclaration } from '@angular/compiler';
10import * as o from '@angular/compiler/src/output/output_ast';
11import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
12import { AstObject } from '../../ast/ast_value';
13import { GetSourceFileFn } from '../get_source_file';
14import { PartialLinker } from './partial_linker';
15/**
16 * A `PartialLinker` that is designed to process `ɵɵngDeclareComponent()` call expressions.
17 */
18export declare class PartialComponentLinkerVersion1<TStatement, TExpression> implements PartialLinker<TExpression> {
19 private readonly getSourceFile;
20 private sourceUrl;
21 private code;
22 constructor(getSourceFile: GetSourceFileFn, sourceUrl: AbsoluteFsPath, code: string);
23 linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
24 /**
25 * This function derives the `R3ComponentMetadata` from the provided AST object.
26 */
27 private toR3ComponentMeta;
28 /**
29 * Update the range to remove the start and end chars, which should be quotes around the template.
30 */
31 private getTemplateInfo;
32 private tryExternalTemplate;
33 private templateFromPartialCode;
34}
Note: See TracBrowser for help on using the repository browser.