(type: o.ExpressionType, ctx: EmitterVisitorContext)
| 670 | } |
| 671 | |
| 672 | visitExpressionType(type: o.ExpressionType, ctx: EmitterVisitorContext): void { |
| 673 | if (!this.printTypes) { |
| 674 | return; |
| 675 | } |
| 676 | |
| 677 | ctx.print(null, ': '); |
| 678 | type.value.visitExpression(this, ctx); |
| 679 | |
| 680 | if (type.typeParams && type.typeParams.length > 0) { |
| 681 | ctx.print(null, '<'); |
| 682 | this.visitAllObjects((param) => param.visitType(this, ctx), type.typeParams, ctx, ','); |
| 683 | ctx.print(null, '>'); |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | visitArrayType(type: o.ArrayType, ctx: EmitterVisitorContext): void { |
| 688 | if (!this.printTypes) { |
nothing calls this directly
no test coverage detected