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