(type: o.ExpressionType, ctx: EmitterVisitorContext)
| 603 | } |
| 604 | |
| 605 | visitExpressionType(type: o.ExpressionType, ctx: EmitterVisitorContext): void { |
| 606 | if (!this.printTypes) { |
| 607 | return; |
| 608 | } |
| 609 | |
| 610 | ctx.print(null, ': '); |
| 611 | type.value.visitExpression(this, ctx); |
| 612 | |
| 613 | if (type.typeParams && type.typeParams.length > 0) { |
| 614 | ctx.print(null, '<'); |
| 615 | this.visitAllObjects((param) => param.visitType(this, ctx), type.typeParams, ctx, ','); |
| 616 | ctx.print(null, '>'); |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | visitArrayType(type: o.ArrayType, ctx: EmitterVisitorContext): void { |
| 621 | if (!this.printTypes) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…