org.jetbrains.kotlinx.dataframe.plugin.extensions.CallShapeAttribute.kt Maven / Gradle / Ivy
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