com.lightningkite.khrysalis.replacements.CastRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-plugin-common Show documentation
Show all versions of kotlin-compiler-plugin-common Show documentation
Common translational tools between Typescript and Swift.
The newest version!
package com.lightningkite.khrysalis.replacements
import com.fasterxml.jackson.annotation.JsonIgnore
import org.jetbrains.kotlin.types.KotlinType
data class CastRule(
val from: String,
val to: String,
val template: Template,
override val debug: Boolean
) : ReplacementRule {
@get:JsonIgnore() override val priority: Int
get() = 0
fun passes(from: KotlinType, to: KotlinType): Boolean {
return true
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy