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

org.jetbrains.kotlinx.jupyter.messaging.CompleteReply.kt Maven / Gradle / Ivy

Go to download

Implementation of REPL compiler and preprocessor for Jupyter dialect of Kotlin (IDE-compatible)

The newest version!
package org.jetbrains.kotlinx.jupyter.messaging

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
class CompleteReply(
    val matches: List,
    @SerialName("cursor_start")
    val cursorStart: Int,
    @SerialName("cursor_end")
    val cursorEnd: Int,
    val paragraph: Paragraph,
    val metadata: Metadata,
) : OkReply() {
    @Serializable
    class Metadata(
        @SerialName("_jupyter_types_experimental")
        val experimentalTypes: List,
        @SerialName("_jupyter_extended_metadata")
        val extended: List,
    )

    @Serializable
    class ExperimentalType(
        val text: String,
        val type: String,
        val start: Int,
        val end: Int,
    )

    @Serializable
    class ExtendedMetadataEntry(
        val text: String,
        val displayText: String,
        val icon: String,
        val tail: String,
        val deprecation: String?,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy