Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IndexedValue (0.17 sec)

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

                    .flatMap { flattenFirScope(it) }
                availableScopes.map { IndexedValue(index, it) }
            }
            val ktScopesWithKinds = createScopesWithKind(firScopes)
    
            return KtScopeContext(ktScopesWithKinds, implicitReceivers, token)
        }
    
        private fun createScopesWithKind(firScopes: Iterable<IndexedValue<FirScope>>): List<KtScopeWithKind> {
            return firScopes.map { (index, firScope) ->
    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)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
                .all<IndexedValue<CtClass>> {
                    val ktParamType = ktFunction.valueParameters[it.index].typeReference!!
                    it.value.isLikelyEquivalentTo(ktParamType)
                }
        }
    }
    
    
    private
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
Back to top