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

org.jetbrains.kotlin.fir.resolve.calls.AbstractCandidate.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0-RC
Show newest version
/*
 * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */

package org.jetbrains.kotlin.fir.resolve.calls

import org.jetbrains.kotlin.fir.declarations.FirValueParameter
import org.jetbrains.kotlin.fir.expressions.FirExpression
import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
import org.jetbrains.kotlin.resolve.calls.inference.model.ConstraintSystemError
import org.jetbrains.kotlin.resolve.calls.tasks.ExplicitReceiverKind
import org.jetbrains.kotlin.resolve.calls.tower.CandidateApplicability

abstract class AbstractCandidate {
    abstract val symbol: FirBasedSymbol<*>
    abstract val dispatchReceiver: FirExpression?
    abstract val chosenExtensionReceiver: FirExpression?
    abstract val explicitReceiverKind: ExplicitReceiverKind
    abstract val callInfo: AbstractCallInfo
    abstract val diagnostics: List
    abstract val errors: List
    abstract val applicability: CandidateApplicability
}

abstract class AbstractCallCandidate : AbstractCandidate() {
    abstract val argumentMapping: LinkedHashMap
    abstract val argumentMappingInitialized: Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy