commonMain.co.touchlab.skie.util.CollisionFreeIdentifier+Named.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-linker-plugin-kgp_1.9.0 Show documentation
Show all versions of kotlin-compiler-linker-plugin-kgp_1.9.0 Show documentation
Kotlin compiler plugin that improves Swift interface of a Kotlin Multiplatform framework.
The newest version!
package co.touchlab.skie.util
import org.jetbrains.kotlin.descriptors.Named
import org.jetbrains.kotlin.name.Name
fun String.collisionFreeIdentifier(existingIdentifiers: Collection): Name =
collisionFreeIdentifier(existingIdentifiers.map { it.name.asString() }).let { Name.identifier(it) }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy