Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for couldn (0.16 sec)

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

    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedContainerSource
    
    /**
     * Whether unbound IR symbols should be stubbed instead of linked.
     * This should be enabled if the compiled file could refer to symbols defined in another file of the same module.
     * Such symbols are not compiled (only the file is passed to the backend) and so they cannot be linked from a dependency.
     */
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt

    @Suppress("unused")
    fun KtAnalysisSession.getInlineFunctionAnalyzer(analyzeOnlyReifiedInlineFunctions: Boolean): InlineFunctionAnalyzer {
        require(this is KtFe10AnalysisSession) {
            "K2 implementation shouldn't call this code"
        }
        return InlineFunctionAnalyzer(analysisContext, analyzeOnlyReifiedInlineFunctions)
    }
    
    @OptIn(KtAnalysisNonPublicApi::class)
    class InlineFunctionAnalyzer(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            )
    
            val towerContext = FirTowerDataContextProvider.create(firResolveSession, declarationToVisit)
    
            //TODO: collect all usages of available symbols in the file and prevent importing symbols that could introduce name clashes, which
            // may alter the meaning of existing code.
            val collector = ElementsToShortenCollector(
                shortenOptions,
                context,
                towerContext,
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // E.g., test.pkg.R.string.hello v.s. coreR.string.hello where test.pkg.R is imported as coreR
                    // Since an import alias ends with a simple identifier (i.e., can't be non-trivial dotted qualifier), we can safely assume
    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)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            val bindingContext = analysisContext.analyze(expression, AnalysisMode.PARTIAL)
            val lhs = bindingContext[BindingContext.DOUBLE_COLON_LHS, expression.receiverExpression] ?: return null
            return lhs.type.toKtType(analysisContext)
        }
    
        override fun withNullability(type: KtType, newNullability: KtTypeNullability): KtType {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. ChangeLog.md

    - [`KT-56835`](https://youtrack.jetbrains.com/issue/KT-56835) Light classes: Underlying fields for delegated properties should be marked as final and `@NotNull`
    - [`KT-56840`](https://youtrack.jetbrains.com/issue/KT-56840) Light Classes: Inline classes backed by Java primitives shouldn't be marked with `@NotNull`
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        init {
            // The `isDeclared` check is based on class IDs. Local classes don't have proper class IDs, but because this scope is used to
            // represent Java classes viewed from Kotlin code, we shouldn't be able to encounter any local Java classes.
            require(!owner.isLocal) {
                "Unexpected local Java class in ${FirJavaDeclaredMembersOnlyScope::class.simpleName}."
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                return when (val psi = psi) {
                    is KtNameReferenceExpression -> psi.getReferencedNameAsName()
                    else -> {
                        // This could be KtArrayAccessExpression or KtOperationReferenceExpression.
                        // Note: All candidate symbols should have the same name. We go by the symbol because `calleeReference.name` will include
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescValueParameterSymbol.kt

                        // Implicit lambda parameter doesn't have a source PSI.
                        descriptor.source.getPsi() == null &&
                        // But, that could be the case for a declaration from Library. Double-check the slice in the binding context
                        (descriptor.containingDeclaration.source.getPsi() as? KtFunctionLiteral)?.let { parentLambda ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        }
        while (filesQueueToAnalyze.isNotEmpty()) {
            val file = filesQueueToAnalyze.removeFirst()
            analyze(file) {
                require(this is KtFe10AnalysisSession) {
                    "K2 implementation shouldn't call this code"
                }
                file.accept(InlineDelegatedPropertyAccessorsAnalyzer(analysisContext, collector))
            }
        }
    }
    
    @OptIn(KtAnalysisNonPublicApi::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top