Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for first (0.13 sec)

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

            val classId = correspondingClassIdIfExists()
            val classIdOfAnother = another.correspondingClassIdIfExists()
            if (classId == classIdOfAnother) return false
    
            // Find the first ClassId matching inner class. If the first matching one is this scope's ClassId, it means this scope is closer
            // than `another`.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * contain the [contextElement].
         *
         * If [fqName] has two or more segments, e.g. `Foo.bar`, the member and companion object scope of the containing [KtDeclaration] will be
         * queried for a class `Foo` first, and then that class `Foo` will be queried for the member `bar` by short name.
         */
        private fun KtAnalysisSession.getSymbolsFromParentMemberScopes(fqName: FqName, contextElement: KtElement): Collection<KtSymbol> {
    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)
  3. ReadMe.md

     * [Kotlin Multiplatform Mobile](https://kotlinlang.org/lp/mobile/) for sharing code between Android and iOS
     * [Getting Started with Kotlin Multiplatform Mobile Guide](https://kotlinlang.org/docs/mobile/create-first-app.html)
     * [Kotlin Multiplatform Benefits](https://kotlinlang.org/docs/reference/multiplatform.html)
     * [Share code on all platforms](https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-all-platforms)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt

                return expression
            }
            val first = mappingConversionFirst.convertExpression("$expression.first", context)
            val second = mappingConversionSecond.convertExpression("$expression.second", context)
            return "$first to $second"
        }
    
        override fun convertType(type: KType): KType {
            val first = type.arguments.getOrNull(0)?.type ?: return type
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Sep 15 09:32:47 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * [FirDeclarationGenerationExtension][org.jetbrains.kotlin.fir.extensions.FirDeclarationGenerationExtension]s.
     *
     * [DeclarationsInPackageProvider] first tries the [FirSymbolNamesProvider] of the analysis session's underlying FIR session, because it
     * provides symbol names from binary libraries in Standalone mode, which the Standalone declaration provider does not contain (to avoid
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                )
            }
            if (kClass.isSubclassOf(Pair::class)) {
                val first = type.arguments.getOrNull(0)?.type ?: return HLIdParameterConversion
                val second = type.arguments.getOrNull(1)?.type ?: return HLIdParameterConversion
                return HLPairParameterConversion(
                    mappingConversionFirst = createConversion(first),
                    mappingConversionSecond = createConversion(second)
                )
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Nov 06 14:41:18 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            val defaultExpressionInfo = computeDefaultExpression(defaultStatement, firDefaultStatement, firValuedReturnExpressions)
    
            val graphIndex = ControlFlowGraphIndex {
                getControlFlowGraph(anchor = statements.first(), firStatements = firStatements)
            }
    
            val jumpExpressions = buildList {
                fun add(expressions: List<FirElement>) {
                    expressions.mapNotNullTo(this) { it.psi as? KtExpression }
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDefaultStarImportingScope.kt

        analysisSession: KtFirAnalysisSession,
    ) : KtFirBasedScope<FirDefaultStarImportingScope>(firScope, analysisSession.firSymbolBuilder) {
    
        private val firstWrappedScope = KtFirStarImportingScope(firScope.first, analysisSession)
        private val secondWrappedScope = KtFirStarImportingScope(firScope.second, analysisSession)
    
        override fun getPackageSymbols(nameFilter: KtScopeNameFilter): Sequence<KtPackageSymbol> = withValidityAssertion {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Jul 04 07:25:22 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            return kotlinType.toKtType(analysisContext)
        }
    
        override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType {
            // Handle callable declarations with explicit return type first
            if (declaration is KtCallableDeclaration) {
                val typeReference = declaration.typeReference
    
                if (typeReference != null) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // that the first segment of the qualified access could be the import alias if any. Then, we can still compare the
                    // remaining parts.
                    // E.g., coreR.string.hello
                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
    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)
Back to top