commonMain.co.touchlab.skie.kir.irbuilder.DeclarationTemplate.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.8.20 Show documentation
Show all versions of kotlin-compiler-linker-plugin-kgp_1.8.20 Show documentation
Kotlin compiler plugin that improves Swift interface of a Kotlin Multiplatform framework.
The newest version!
package co.touchlab.skie.kir.irbuilder
import co.touchlab.skie.kir.descriptor.MutableDescriptorProvider
import co.touchlab.skie.phases.KotlinIrPhase
import co.touchlab.skie.phases.SymbolTablePhase
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
import org.jetbrains.kotlin.ir.declarations.IrDeclarationContainer
import org.jetbrains.kotlin.psi2ir.generators.GeneratorContext
interface DeclarationTemplate {
val descriptor: D
context(MutableDescriptorProvider)
fun registerExposedDescriptor()
context(SymbolTablePhase.Context)
fun declareSymbol()
context(KotlinIrPhase.Context)
fun generateIrDeclaration(parent: IrDeclarationContainer, generatorContext: GeneratorContext)
context(KotlinIrPhase.Context)
fun generateIrBody()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy