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

main.seskar.compiler.union.extensions.UnionTransformExtension.kt Maven / Gradle / Ivy

package seskar.compiler.union.extensions

import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.ir.declarations.IrModuleFragment
import seskar.compiler.union.backend.UnionTransformer

internal class UnionTransformExtension : IrGenerationExtension {
    override fun generate(
        moduleFragment: IrModuleFragment,
        pluginContext: IrPluginContext,
    ) {
        moduleFragment.transformChildren(UnionTransformer(pluginContext), null)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy