(stmt: string, name: string)
| 23 | private idx = 0; |
| 24 | |
| 25 | private addDeclar(stmt: string, name: string) { |
| 26 | if (this.declares.has(stmt)) { |
| 27 | return this.declares.get(stmt)!; |
| 28 | } |
| 29 | this.declares.set(stmt, name); |
| 30 | return name; |
| 31 | } |
| 32 | |
| 33 | uniqueName(prefix: string) { |
| 34 | return `${prefix}_${this.idx++}`; |
no test coverage detected