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

commonMain.co.touchlab.skie.phases.KirPhase+linker.kt Maven / Gradle / Ivy

The newest version!
package co.touchlab.skie.phases

import co.touchlab.skie.context.KirPhaseContext
import co.touchlab.skie.kir.descriptor.DescriptorKirProvider
import co.touchlab.skie.kir.descriptor.ObjCExportedInterfaceProvider
import co.touchlab.skie.kir.type.translation.KirDeclarationTypeTranslator
import co.touchlab.skie.kir.type.translation.KirTypeTranslator
import org.jetbrains.kotlin.backend.konan.objcexport.ObjCExportNamer

val KirPhase.Context.descriptorKirProvider: DescriptorKirProvider
    get() = typedContext.descriptorKirProvider

val KirPhase.Context.namer: ObjCExportNamer
    get() = typedContext.namer

val KirPhase.Context.kirTypeTranslator: KirTypeTranslator
    get() = typedContext.kirTypeTranslator

val KirPhase.Context.kirDeclarationTypeTranslator: KirDeclarationTypeTranslator
    get() = typedContext.kirDeclarationTypeTranslator

val KirPhase.Context.objCExportedInterfaceProvider: ObjCExportedInterfaceProvider
    get() = typedContext.objCExportedInterfaceProvider

private val KirPhase.Context.typedContext: KirPhaseContext
    get() = context as KirPhaseContext




© 2015 - 2024 Weber Informatics LLC | Privacy Policy