(i: number)
| 1566 | ): string | null { |
| 1567 | const assignRe = new RegExp(`\\$this->${escapedProp}\\b\\s*=\\s*\\$(\\w+)\\b`); |
| 1568 | const assignAt = (i: number): RegExpMatchArray | null => { |
| 1569 | const line = lines[i]; |
| 1570 | if (!line || line.length > 10_000) return null; |
| 1571 | return line.match(assignRe); |
| 1572 | }; |
| 1573 | // The assignment is position-independent relative to the call — nearest- |
| 1574 | // backward first, then sweep forward, same order as the componentScoped scan. |
| 1575 | let assignIdx = -1; |
no outgoing calls
no test coverage detected