(type)
| 323 | } |
| 324 | } |
| 325 | normalizeType(type) { |
| 326 | this.count = undefined; |
| 327 | if (type.endsWith(" *")) { |
| 328 | type = type.slice(0, -2) + "*"; |
| 329 | } |
| 330 | else if (type.endsWith("]")) { |
| 331 | const bracket = type.indexOf("["); |
| 332 | if (bracket > 0) { |
| 333 | const count = type.slice(bracket + 1, -1); |
| 334 | if (/^[1-9][0-9]*$/.test(count)) { |
| 335 | type = type.slice(0, bracket) + "[]"; |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | return type; |
| 340 | } |
| 341 | parseSignatures(functions) { |
| 342 | const tool = this.tool; |
| 343 | const signatures = []; |
no test coverage detected