UNPKG

@angular/compiler-cli

Version:
21 lines (20 loc) 985 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ConstantPool, R3DeclareInjectorMetadata, R3InjectorMetadata, R3PartialDeclaration } from '@angular/compiler'; import { AstObject } from '../../ast/ast_value'; import { LinkedDefinition, PartialLinker } from './partial_linker'; /** * A `PartialLinker` that is designed to process `ɵɵngDeclareInjector()` call expressions. */ export declare class PartialInjectorLinkerVersion1<TExpression> implements PartialLinker<TExpression> { linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition; } /** * Derives the `R3InjectorMetadata` structure from the AST object. */ export declare function toR3InjectorMeta<TExpression>(metaObj: AstObject<R3DeclareInjectorMetadata, TExpression>): R3InjectorMetadata;