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

org.jetbrains.jupyter.parser.notebook.LanguageInfo.kt Maven / Gradle / Ivy

There is a newer version: 0.2.0-dev-10
Show newest version
package org.jetbrains.jupyter.parser.notebook

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement

/**
 * Kernel information.
 */
@Serializable
public data class LanguageInfo(
    /** The programming language which this kernel runs. */
    val name: String,
    /** The codemirror mode to use for code in this language. */
    @SerialName("codemirror_mode")
    val codemirrorMode: JsonElement? = null,
    /** The file extension for files in this language. */
    @SerialName("file_extension")
    val fileExtension: String? = null,
    /** The mimetype corresponding to files in this language. */
    val mimetype: String? = null,
    /** The pygments lexer to use for code in this language. */
    @SerialName("pygments_lexer")
    val pygmentsLexer: String? = null
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy