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

commonMain.community.flock.wirespec.plugin.Language.kt Maven / Gradle / Ivy

There is a newer version: 0.10.17
Show newest version
package community.flock.wirespec.plugin

import community.flock.wirespec.compiler.core.Value

enum class Language {
    Java, JavaLegacy, Kotlin, KotlinLegacy, Scala, TypeScript, Wirespec;

    companion object {
        fun toMap() = entries.associateBy { it.name }
        override fun toString() = entries.joinToString()

    }
}

enum class FileExtension(override val value: String) : Value {
    Java("java"), Kotlin("kt"), Scala("scala"), TypeScript("ts"), Wirespec("ws"), Json("json")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy