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 | */
|
---|
8 | import * as o from '../output/output_ast';
|
---|
9 | export declare function typeWithParameters(type: o.Expression, numParams: number): o.ExpressionType;
|
---|
10 | export 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 | */
|
---|
17 | export interface R3CompiledExpression {
|
---|
18 | expression: o.Expression;
|
---|
19 | type: o.Type;
|
---|
20 | statements: o.Statement[];
|
---|
21 | }
|
---|
22 | export declare function prepareSyntheticPropertyName(name: string): string;
|
---|
23 | export declare function prepareSyntheticListenerName(name: string, phase: string): string;
|
---|
24 | export declare function getSafePropertyAccessString(accessor: string, name: string): string;
|
---|
25 | export declare function prepareSyntheticListenerFunctionName(name: string, phase: string): string;
|
---|
26 | export declare function jitOnlyGuardedExpression(expr: o.Expression): o.Expression;
|
---|
27 | export declare function devOnlyGuardedExpression(expr: o.Expression): o.Expression;
|
---|
28 | export declare function guardedExpression(guard: string, expr: o.Expression): o.Expression;
|
---|
29 | export declare function wrapReference(value: any): R3Reference;
|
---|
30 | export declare function refsToArray(refs: R3Reference[], shouldForwardDeclare: boolean): o.Expression;
|
---|