(expr: cs.Identifier | string)
| 230 | } |
| 231 | |
| 232 | protected writeIdentifier(expr: cs.Identifier | string) { |
| 233 | let name: string; |
| 234 | if (typeof expr !== 'string') { |
| 235 | name = this._context.getSymbolName(expr) ?? expr.text; |
| 236 | } else { |
| 237 | name = expr; |
| 238 | } |
| 239 | this.write(this.escapeIdentifier(name)); |
| 240 | } |
| 241 | |
| 242 | protected abstract escapeIdentifier(identifier: string): string; |
| 243 |
nothing calls this directly
no test coverage detected