All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.seskar.compiler.value.extensions.ValueRegistrar.kt Maven / Gradle / Ivy

There is a newer version: 3.75.0
Show newest version
package seskar.compiler.value.extensions

import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar
import org.jetbrains.kotlin.config.CompilerConfiguration
import org.jetbrains.kotlin.extensions.StorageComponentContainerContributor

class ValueRegistrar : CompilerPluginRegistrar() {
    override val supportsK2: Boolean = false

    override fun ExtensionStorage.registerExtensions(
        configuration: CompilerConfiguration,
    ) {
        StorageComponentContainerContributor.registerExtension(
            extension = ValueStorageComponentContainerContributor(),
        )

        IrGenerationExtension.registerExtension(ValueTransformExtension())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy