(type: o.Expression, numParams: number)
| 108 | } |
| 109 | |
| 110 | export function typeWithParameters(type: o.Expression, numParams: number): o.ExpressionType { |
| 111 | if (numParams === 0) { |
| 112 | return o.expressionType(type); |
| 113 | } |
| 114 | const params: o.Type[] = []; |
| 115 | for (let i = 0; i < numParams; i++) { |
| 116 | params.push(o.DYNAMIC_TYPE); |
| 117 | } |
| 118 | return o.expressionType(type, undefined, params); |
| 119 | } |
| 120 | |
| 121 | export interface R3Reference { |
| 122 | value: o.Expression; |
no test coverage detected