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

The newest version!
package org.jetbrains.kotlinx.dataframe.plugin.extensions

import org.jetbrains.kotlinx.dataframe.plugin.extensions.impl.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