
jvmMain.compiler.CompilationMessage.kt Maven / Gradle / Ivy
package io.fluidsonic.compiler
import org.jetbrains.kotlin.cli.common.messages.*
public data class CompilationMessage(
val location: CompilerMessageSourceLocation?,
val message: String,
val severity: CompilerMessageSeverity
) {
override fun toString(): String = buildString {
append(severity.presentableName)
if (location != null) {
append(" [at ")
append(location)
append("]")
}
append(": ")
append(message)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy