()
| 339 | } |
| 340 | |
| 341 | function readName(): string { |
| 342 | const start = i |
| 343 | while (i < len) { |
| 344 | const c = xml[i] |
| 345 | if ( |
| 346 | c === ' ' || |
| 347 | c === '\t' || |
| 348 | c === '\n' || |
| 349 | c === '\r' || |
| 350 | c === '>' || |
| 351 | c === '/' || |
| 352 | c === '=' |
| 353 | ) |
| 354 | break |
| 355 | i++ |
| 356 | } |
| 357 | return xml.slice(start, i) |
| 358 | } |
| 359 | |
| 360 | function readAttributes(): Record<string, string> { |
| 361 | const attrs: Record<string, string> = {} |
no outgoing calls
no test coverage detected