(ctx: PrintContext)
| 115 | } |
| 116 | |
| 117 | override print(ctx: PrintContext) { |
| 118 | ctx.features.add('string'); |
| 119 | let result = 'compilets::StringBuilder()'; |
| 120 | for (const span of this.spans) { |
| 121 | result += `.Append(${span.print(ctx)})`; |
| 122 | } |
| 123 | result += '.Take()'; |
| 124 | return result; |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | export class AsExpression extends Expression { |