(type: o.Expression, numParams: number)
| 21 | export const LET_PATTERN = /^let\s+([\S\s]*)/; |
| 22 | |
| 23 | export function typeWithParameters(type: o.Expression, numParams: number): o.ExpressionType { |
| 24 | if (numParams === 0) { |
| 25 | return o.expressionType(type); |
| 26 | } |
| 27 | const params: o.Type[] = []; |
| 28 | for (let i = 0; i < numParams; i++) { |
| 29 | params.push(o.DYNAMIC_TYPE); |
| 30 | } |
| 31 | return o.expressionType(type, undefined, params); |
| 32 | } |
| 33 | |
| 34 | export interface R3Reference { |
| 35 | value: o.Expression; |
no test coverage detected