(lineObj: ResultLine, filteredLine: string)
| 186 | } |
| 187 | |
| 188 | function applyParse_FileWithLine(lineObj: ResultLine, filteredLine: string) { |
| 189 | const match = filteredLine.match(SOURCE_WITH_FILENAME); |
| 190 | if (match) { |
| 191 | const filename = match[1]; |
| 192 | const message = match[5].trim(); |
| 193 | lineObj.tag = { |
| 194 | file: filename, |
| 195 | line: Number.parseInt(match[2], 10), |
| 196 | column: Number.parseInt(match[4] || '0', 10), |
| 197 | text: message, |
| 198 | severity: parseSeverity(message), |
| 199 | }; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | function applyParse_AtFileLine(lineObj: ResultLine, filteredLine: string) { |
| 204 | const match = filteredLine.match(ATFILELINE_RE); |
no test coverage detected