Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for shouldn (0.72 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                                resolveFragmentOfCall
                            )
                        )
                    }
                )
                check(ktCallInfos.size <= 1) { "Should only return 1 KtCallInfo" }
                ktCallInfos.singleOrNull()
            }
        }
    
        private inline fun <T> getCallInfo(
            psi: KtElement,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.INC_DEC_SHOULD_NOT_RETURN_UNIT) { firDiagnostic ->
            IncDecShouldNotReturnUnitImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT) { firDiagnostic ->
            AssignmentOperatorShouldReturnUnitImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescNamedClassOrObjectSymbol.kt

        @OptIn(KtAnalysisApiInternals::class)
        override val classKind: KtClassKind
            get() = withValidityAssertion {
                if (DescriptorUtils.isAnonymousObject(descriptor)) {
                    error("Should be an anonymous object")
                }
                descriptor.kind.toKtClassKind(isCompanionObject = descriptor.isCompanionObject)
            }
    
        override val superTypes: List<KtType>
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    is FirFieldSymbol -> buildFieldSymbol(firSymbol)
                    is FirEnumEntrySymbol -> buildEnumEntrySymbol(firSymbol) // TODO enum entry should not be callable
                    is FirBackingFieldSymbol -> buildBackingFieldSymbol(firSymbol)
                    is FirErrorPropertySymbol -> buildErrorVariableSymbol(firSymbol)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(symbol is KtFirSymbol<*>)
            val firSymbol = symbol.firSymbol
            check(firSymbol is FirCallableSymbol<*>) {
                "Fir declaration should be FirCallableDeclaration; instead it was ${firSymbol::class}"
            }
            return firSymbol.dispatchReceiverType(analysisSession.firSymbolBuilder)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    else KtConstantValue.KtUnsignedLongConstantValue(long, psi)
                }
    
                ConstantValueKind.Error -> errorWithFirSpecificEntries("Should not be possible to get from FIR tree", fir = fir)
            }
        }
    
        private fun FirLiteralExpression<*>.adaptToConstKind(): FirLiteralExpression<*> {
            return kind.toLiteralExpression(
                source,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
                if (type.fe10Type.arguments.isEmpty())
                    typeMappingMode
                else
                    typeMappingMode.updateArgumentModeFromAnnotations(
                        type.fe10Type,
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtDelegatedSuperTypeEntry ->
                    parent.delegateExpression == child
    
                // KtContainerNode are containers used in `KtIfExpressions`, and should be regarded
                // as parentheses for the purpose of this analysis.
                is KtContainerNode ->
                    // !!!!CAUTION!!!! Not `parentUse(parent.parent, _parent_)`
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                classBuilderMode = ClassBuilderMode.KAPT3,
                isParamAssertionsDisabled = false,
                unifiedNullChecks = true,
                metadataVersion = metadataVersion,
                // Technically we should use JvmDefaultMode.ALL_INCOMPATIBLE because Kapt4 always uses `-Xjvm-default=all`, but it would make
                // the majority of tests fail because metadata of each interface will have a flag set, compared to Kapt3.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                null -> emptyList()
            }
        }
    
        private fun KtCallInfo?.toKtCallCandidateInfos(bestCandidateDescriptors: Set<CallableDescriptor>): List<KtCallCandidateInfo> {
            // TODO: We should prefer to compare symbols instead of descriptors, but we can't do so while symbols are not cached.
            fun KtCall.isInBestCandidates(): Boolean {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top