Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Hencke (0.33 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt

            if (typeChecker !is NewKotlinTypeCheckerImpl) return typeChecker
    
            // `NewKotlinTypeCheckerImpl` is inconsistent with its error type leniency: `isSubtypeOf` is lenient by default while `equalTypes`
            // isn't. Hence, even without a `LENIENT` policy, we need to wrap `typeChecker` to achieve consistent strictness.
            return IsErrorTypeEqualToAnythingTypeChecker(typeChecker, errorTypePolicy == KaSubtypingErrorTypePolicy.LENIENT)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProviderFactory.kt

     * may be based on an index which doesn't contain the declarations provided by file-based declaration providers.
     *
     * Hence, [KotlinDeclarationProvider]s cannot just be combined by combining the scopes of all declaration providers and calling
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinProjectMessageBusProvider.kt

     * IDE Analysis API.
     *
     * [KotlinMessageBusProvider] exists so that this default may change in the future without breaking the API. Hence, it should not be assumed
     * that the message bus provided by [KotlinMessageBusProvider] will always be equal to the project's message bus.
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 952 bytes
    - Viewed (0)
  4. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDirectInheritorsProvider.kt

         *
         * The implementor of [getDirectKotlinInheritors] is allowed to lazy-resolve symbols up to the `SUPER_TYPES` phase. This is required to
         * check subtyping for potential inheritors. Hence, if [getDirectKotlinInheritors] is invoked during lazy resolution, it requires a
         * phase of `SEALED_CLASS_INHERITORS` or later.
         */
        public fun getDirectKotlinInheritors(
            ktClass: KtClass,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

            get() = withValidityAssertion {
                fe10Type.getContextReceiverTypesFromFunctionType().map { receiverType ->
                    // Context receivers in function types may not have labels, hence the `null` label.
                    KaContextReceiverImpl(
                        receiverType.toKtType(analysisContext),
                        label = null,
                        analysisContext.token,
                    )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

                }
    
                override fun visitFileFailed(file: Path, exc: IOException?): FileVisitResult {
                    // TODO: report or log [IOException]?
                    // NB: this intentionally swallows the exception, hence fail-safe.
                    // Skipping subtree doesn't make any sense, since this is not a directory.
                    // Skipping sibling may drop valid file paths afterward, so we just continue.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt

        override val contextReceivers: List<KaContextReceiver> by cached {
            coneType.contextReceiversTypes(builder.rootSession)
                .map {
                    // Context receivers in function types may not have labels, hence the `null` label.
                    KaContextReceiverImpl(it.buildKtType(), label = null, token)
                }
        }
    
        override val hasContextReceivers: Boolean get() = withValidityAssertion { contextReceivers.isNotEmpty() }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompileTimeConstantProvider.kt

                // ```
                // when {
                //   true, false -> {}
                // }
                // ```
                // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned. In this
                // case, we simply report null since FIR does not know about it.
                else -> null
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSymbolContainingDeclarationProvider.kt

         * Returns containing [KtFile] as [KaFileSymbol]
         *
         * Caveat: returns `null` if the given symbol is already [KaFileSymbol], since there is no containing file.
         *  Similarly, no containing file for libraries and Java, hence `null`.
         */
        public fun KaSymbol.getContainingFileSymbol(): KaFileSymbol? =
            withValidityAssertion { analysisSession.containingDeclarationProvider.getContainingFileSymbol(this) }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                return KaCompilationResult.Failure(frontendErrors)
            }
    
            // The IR backend will try to regenerate object literals defined in inline functions from generated class files during inlining.
            // Hence, we need to be aware of which object declarations are defined in the relevant inline functions.
            val inlineObjectDeclarations = inlineAnalyzer.inlineObjectDeclarations()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top