source: trip-planner-front/node_modules/@angular/compiler/src/render3/util.d.ts

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

initial commit

  • Property mode set to 100644
File size: 1.4 KB
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 * as o from '../output/output_ast';
9export declare function typeWithParameters(type: o.Expression, numParams: number): o.ExpressionType;
10export interface R3Reference {
11 value: o.Expression;
12 type: o.Expression;
13}
14/**
15 * Result of compilation of a render3 code unit, e.g. component, directive, pipe, etc.
16 */
17export interface R3CompiledExpression {
18 expression: o.Expression;
19 type: o.Type;
20 statements: o.Statement[];
21}
22export declare function prepareSyntheticPropertyName(name: string): string;
23export declare function prepareSyntheticListenerName(name: string, phase: string): string;
24export declare function getSafePropertyAccessString(accessor: string, name: string): string;
25export declare function prepareSyntheticListenerFunctionName(name: string, phase: string): string;
26export declare function jitOnlyGuardedExpression(expr: o.Expression): o.Expression;
27export declare function devOnlyGuardedExpression(expr: o.Expression): o.Expression;
28export declare function guardedExpression(guard: string, expr: o.Expression): o.Expression;
29export declare function wrapReference(value: any): R3Reference;
30export declare function refsToArray(refs: R3Reference[], shouldForwardDeclare: boolean): o.Expression;
Note: See TracBrowser for help on using the repository browser.