(message: string)
| 5 | const colPattern = new RegExp(`(?:col|pos) (\\d+)`); |
| 6 | |
| 7 | export function mayContainStackFrame(message: string) { |
| 8 | return containsStackFramePattern.test(message); |
| 9 | } |
| 10 | |
| 11 | export function parseStackFrame(message: string): MessageWithUriData | undefined { |
| 12 | // Messages over 1000 characters are unlikely to be stack frames, so short-cut |