(name: string, type: Type, initializer?: Expression)
| 694 | initializer?: Expression; |
| 695 | |
| 696 | constructor(name: string, type: Type, initializer?: Expression) { |
| 697 | super(name); |
| 698 | this.type = type; |
| 699 | if (initializer) |
| 700 | this.initializer = castExpression(initializer, type); |
| 701 | } |
| 702 | |
| 703 | override print(ctx: PrintContext) { |
| 704 | let result = `${this.type.print(ctx)} ${this.name}`; |
nothing calls this directly
no test coverage detected