| 164 | const opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i; |
| 165 | |
| 166 | const opera10: StackLineParserFn = line => { |
| 167 | const parts = opera10Regex.exec(line) as null | [string, string, string, string]; |
| 168 | return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined; |
| 169 | }; |
| 170 | |
| 171 | export const opera10StackLineParser: StackLineParser = [OPERA10_PRIORITY, opera10]; |
| 172 |
nothing calls this directly
no test coverage detected