()
| 301 | } |
| 302 | |
| 303 | async format(): Promise<string> { |
| 304 | if (this._isAsyncSeparator) return `◀ ${this._name} ▶`; |
| 305 | const uiLocation = await this._uiLocation; |
| 306 | const prettyName = |
| 307 | (uiLocation && (await uiLocation.source.prettyName())) || this._rawLocation.url; |
| 308 | const anyLocation = uiLocation || this._rawLocation; |
| 309 | let text = `${this._name} @ ${prettyName}:${anyLocation.lineNumber}`; |
| 310 | if (anyLocation.columnNumber > 1) text += `:${anyLocation.columnNumber}`; |
| 311 | return text; |
| 312 | } |
| 313 | |
| 314 | uiLocation(): Promise<IPreferredUiLocation | undefined> { |
| 315 | return this._uiLocation; |
nothing calls this directly
no test coverage detected