- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for or (0.48 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt
public typealias KtApplicableCallCandidateInfo = KaApplicableCallCandidateInfo /** * A candidate that is NOT applicable for a call. A candidate is inapplicable if a call argument is missing or is not assignable to the * candidate's parameters, OR a call type argument is missing or does not fit the constraints of the candidate's type parameters. */ public class KaInapplicableCallCandidateInfo( candidate: KaCall, isInBestCandidates: Boolean,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/substitutorMarkers.kt
* This is an implementation details and Analysis API clients should not depend on the fact if some [KaSubstitutor] is [KaMapBackedSubstitutor] or not. */ @KaAnalysisApiInternals interface KaMapBackedSubstitutor : KaSubstitutor { /** * Substitution rules in a form of a `Map<KaTypeParameterSymbol, KaType>` */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt
* you need a separate check whether it has an else branch or not. */ public fun KtWhenExpression.getMissingCases(): List<WhenMissingCase> = withValidityAssertion { analysisSession.expressionInfoProvider.getWhenMissingCases(this) } /** * Compute if the value of a given expression is possibly used. Or, * conversely, compute whether the value of an expression is *not* safe to
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt
when (binaryLogicExpression.kind) { LogicOperationKind.AND -> KaContractBinaryLogicExpression.KaLogicOperation.AND LogicOperationKind.OR -> KaContractBinaryLogicExpression.KaLogicOperation.OR } ) override fun visitLogicalNot(logicalNot: ConeLogicalNot, data: Unit): KaContractLogicalNotExpression = KaContractLogicalNotExpression(logicalNot.arg.accept())
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionNavigationTargetsProvider.kt
* * Usually returns a single result. Might return an empty collection if there is no navigation target. * Also, might multiple targets in a case of ambiguity or multiple targets for a [symbol] * * Returned [PsiElement] will be used as a navigation target inside the IDE. */ public abstract fun KaSession.getNavigationTargets(element: KtElement): Collection<PsiElement>
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.1K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt
public sealed interface KaType : KaLifetimeOwner, KaAnnotated { public val nullability: KaTypeNullability /** * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the * abbreviated type cannot be resolved. * * An abbreviated type is a type alias application that has been expanded to some other Kotlin type. For example, if we have a type
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 8.5K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneFirDirectInheritorsProvider.kt
// `ktClass` to the original FIR class. // // Note that this means we don't support providing inheritors based on the dangling file yet, for example if an inheritor was added // or removed only in the dangling file. val baseKtModule = when (val ktModule = ProjectStructureProvider.getModule(project, ktClass, contextualModule = null)) { is KtDanglingFileModule -> ktModule.contextModule
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
public fun KtTypeReference.getKtType(): KaType = getKaType() /** * Resolve [KtDoubleColonExpression] and return [KaType] of its receiver. * * Return `null` if the resolution fails or the resolved callable reference is not a reflection type. */ public fun KtDoubleColonExpression.getReceiverKtType(): KaType? =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AnalysisApiPsiTypeProviderTestUtils.kt
): KtLightClass { val project = ktFile.project return createLightClassByContainingClass(declaration, project) ?: getFacadeLightClass(ktFile, project) ?: error("Can't get or create containing KtLightClass for $declaration") } private fun getFacadeLightClass( ktFile: KtFile, project: Project,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
} /** * Returns whether the function uses its body as an expression (i.e., the function uses the result value of the expression) or not. * * Named functions do not consider their bodies used if * - the function body is a block e.g., `fun foo(): Int { return bar }` or * - the function itself returns Unit */ private fun doesNamedFunctionUseBody(namedFunction: KtNamedFunction, body: PsiElement): Boolean = when {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0)