(name: string, modifiers: string[], type: Type, initializer?: Expression)
| 814 | initializer?: Expression; |
| 815 | |
| 816 | constructor(name: string, modifiers: string[], type: Type, initializer?: Expression) { |
| 817 | super(name, modifiers); |
| 818 | this.type = type; |
| 819 | if (initializer) |
| 820 | this.initializer = castExpression(initializer, type); |
| 821 | } |
| 822 | |
| 823 | override print(ctx: PrintContext) { |
| 824 | this.type.markUsed(ctx); |
nothing calls this directly
no test coverage detected