applyTransformation

Applies transformation to every PathNodes in this list, returning a lazy Sequence of transformed nodes.

Uses an explicit Iterator instead of Kotlin's sequence builder to avoid coroutine bytecode (SpillingKt) that is absent from the Kotlin stdlib bundled with Gradle 8.x.