(type: Type, expression: Expression, arg: Expression)
| 575 | arg: Expression; |
| 576 | |
| 577 | constructor(type: Type, expression: Expression, arg: Expression) { |
| 578 | super(type); |
| 579 | if (expression instanceof StringLiteral) |
| 580 | this.expression = new ToStringExpression(expression); |
| 581 | else |
| 582 | this.expression = castExpression(expression, expression.type); |
| 583 | this.arg = castExpression(arg, new Type('size_t', 'primitive')); |
| 584 | } |
| 585 | |
| 586 | override print(ctx: PrintContext) { |
| 587 | const accessor = this.expression.type.category == 'array' ? '->value()' : ''; |
nothing calls this directly
no test coverage detected