source: trip-planner-front/node_modules/@angular/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_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_directive_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, ParseSourceSpan, R3DeclareDirectiveMetadata, R3DirectiveMetadata, R3PartialDeclaration } from '@angular/compiler';
10import * as o from '@angular/compiler/src/output/output_ast';
11import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
12import { Range } from '../../ast/ast_host';
13import { AstObject } from '../../ast/ast_value';
14import { PartialLinker } from './partial_linker';
15/**
16 * A `PartialLinker` that is designed to process `ɵɵngDeclareDirective()` call expressions.
17 */
18export declare class PartialDirectiveLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
19 private sourceUrl;
20 private code;
21 constructor(sourceUrl: AbsoluteFsPath, code: string);
22 linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
23}
24/**
25 * Derives the `R3DirectiveMetadata` structure from the AST object.
26 */
27export declare function toR3DirectiveMeta<TExpression>(metaObj: AstObject<R3DeclareDirectiveMetadata, TExpression>, code: string, sourceUrl: AbsoluteFsPath): R3DirectiveMetadata;
28export declare function createSourceSpan(range: Range, code: string, sourceUrl: string): ParseSourceSpan;
Note: See TracBrowser for help on using the repository browser.