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

org.jetbrains.kotlinx.dataframe.plugin.extensions.CallShapeAttribute.kt Maven / Gradle / Ivy

There is a newer version: 0.16.0-dev-5328
Show newest version
package org.jetbrains.kotlinx.dataframe.plugin.extensions

import org.jetbrains.kotlinx.dataframe.plugin.SchemaProperty
import org.jetbrains.kotlin.fir.declarations.FirClass
import org.jetbrains.kotlin.fir.declarations.FirDeclarationDataKey
import org.jetbrains.kotlin.fir.declarations.FirDeclarationDataRegistry
import org.jetbrains.kotlin.fir.symbols.impl.FirRegularClassSymbol

sealed interface CallShapeData {
    class Schema(val columns: List) : CallShapeData

    class Scope(val columns: List) : CallShapeData

    class RefinedType(val scopes: List) : CallShapeData
}


object CallShapeAttribute : FirDeclarationDataKey()

var FirClass.callShapeData: CallShapeData? by FirDeclarationDataRegistry.data(CallShapeAttribute)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy