()
| 813 | let i = 1; |
| 814 | let element = ''; |
| 815 | const flush = (): boolean => { |
| 816 | const e = element.trim(); |
| 817 | element = ''; |
| 818 | if (e.length === 0) return true; |
| 819 | const literal = staticString(e); |
| 820 | if (literal !== null) { |
| 821 | parts.push(...literal.split('/').filter((seg) => seg.length > 0)); |
| 822 | return true; |
| 823 | } |
| 824 | // A matrix-params object says nothing about the path. |
| 825 | if (e.startsWith('{')) return true; |
| 826 | parts.push(HOLE); |
| 827 | return true; |
| 828 | }; |
| 829 | while (i < close) { |
| 830 | const ch = arr[i]!; |
| 831 | if (ch === '"' || ch === "'" || ch === '`') { |
no test coverage detected