- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for works (0.16 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
goToNthParent(symbol, goBackSteps)?.let { return it } } return getPackageSymbolIfPackageExists(selectedFqName) } /** * N.B. Works only for [KtClassOrObjectSymbol] parents chain. */ private fun KtAnalysisSession.goToNthParent(symbol: KtDeclarationSymbol, steps: Int): KtDeclarationSymbol? { var currentSymbol = symbol
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 22.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
if (receiverExpression !is KtDotQualifiedExpression) { // If the receiver is not a KtDotQualifiedExpression, it means we are hitting the end of nested receivers. In other // words, this receiver expression should be pointing at an unqualified name of a class, whose class ID is // `outerClassId`. if (receiverExpression == expression) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Apr 15 10:59:01 GMT 2024 - 37.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
other: FirLiteralExpression<*> ): FirLiteralExpression<*>? { if (value == null || other.value == null) return null // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type. val rightType = when { function.symbol.callableId.isStringEquals -> CompileTimeType.ANY function.symbol.callableId.isStringPlus -> CompileTimeType.ANY
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt
return getFirTypeScope(type) ?.withSyntheticPropertiesScopeOrSelf(type.coneType) ?.let { convertToKtTypeScope(it) } } override fun getSyntheticJavaPropertiesScope(type: KtType): KtTypeScope? { check(type is KtFirType) { "KtFirScopeProvider can only work with KtFirType, but ${type::class} was provided" }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} } is KtClassLikeSymbol -> { val outerClassId = symbol.classIdIfNonLocal?.outerClassId if (outerClassId != null) { // Won't work for local and top-level classes, or classes inside a script val outerFirClassifier = symbolFirSession.firProvider.getFirClassifierByFqName(outerClassId) ?: return null
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
mapping.computeIfAbsent(element) { _ -> unmappedCount -= 1 // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly Optional.ofNullable(computeTarget(element)) } } if (unmappedCount > 0) { element.acceptChildren(this)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
is FirPropertyAccessExpression -> { // For unresolved `super`, we manually create an intersection type so that IDE features like completion can work correctly. val containingClass = (fir.dispatchReceiver as? FirThisReceiverExpression)?.calleeReference?.boundSymbol as? FirClassSymbol<*>
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0)