(filePath, msgs)
| 180 | ...(opts.additionalComponentNames || []), |
| 181 | ], |
| 182 | onMsgExtracted(filePath, msgs) { |
| 183 | if (opts.extractSourceLocation) { |
| 184 | msgs = msgs.map(msg => ({ |
| 185 | ...msg, |
| 186 | ...calculateLineColFromOffset(source, msg.start), |
| 187 | })) |
| 188 | } |
| 189 | messages = messages.concat(msgs) |
| 190 | |
| 191 | if (onMsgExtracted) { |
| 192 | onMsgExtracted(filePath, msgs) |
| 193 | } |
| 194 | }, |
| 195 | onMetaExtracted(filePath, m) { |
| 196 | meta = m |
| 197 |
no test coverage detected