Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Present (0.15 sec)

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

            get() {
                val sourcePsi = when {
                    // array type for vararg parameters is not present in the code, so no need to handle it
                    delegatedTypeRef?.source?.kind == KtFakeSourceElementKind.ArrayTypeFromVarargParameter -> null
    
                    // but the array's underlying type is present with a fake source, and needs to be handled
    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/components/KtFirSymbolContainingDeclarationProvider.kt

        }
    
        private fun getContainingPsi(symbol: KtSymbol): KtDeclaration? {
            val source = symbol.firSymbol.source
                ?: errorWithAttachment("PSI should present for declaration built by Kotlin code") {
                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
    
            getContainingPsiForFakeSource(source)?.let { return it }
    
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

        useSiteTarget = useSiteTarget,
        isCallWithArguments = this is FirAnnotationCall && arguments.isNotEmpty(),
        index = index,
        token = token
    )
    
    /**
     * Implicit dispatch receiver is present when an extension function declared in object
     * is imported somewhere else and used without directly referencing the object instance
     * itself:
     *
     * ```kt
     * import Foo.bar
     *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                        // type ref with delegated type ref with such source kind is NOT directly present in the source, so we ignore it
                        !isArrayFromVararg
                    }
    
                    // type ref with such source kind is explicitly present in the source, so we want to see it
                    is KtFakeSourceElementKind.ArrayTypeFromVarargParameter -> true
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. ChangeLog.md

    ### Compiler
    
    #### New Features
    
    - [`KT-58551`](https://youtrack.jetbrains.com/issue/KT-58551) KMP: check all annotation from expect declaration are present on actual
    - [`KT-58554`](https://youtrack.jetbrains.com/issue/KT-58554) KMP: restrict expect opt-in annotations and actual typealiases to annotations with special meaning
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                // Make sure we're not going to expand type argument over and over again.
                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top