Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for partial (0.2 sec)

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

            if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) {
                return null
            }
    
            val bindingContext = analysisContext.analyze(unwrapped, AnalysisMode.PARTIAL)
            val smartCastType = when (val smartCastType = bindingContext[BindingContext.SMARTCAST, expression]) {
                is SingleSmartCast -> smartCastType.type
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        }
    
        override fun getKtType(ktTypeReference: KtTypeReference): KtType {
            val bindingContext = analysisContext.analyze(ktTypeReference, AnalysisMode.PARTIAL)
            val kotlinType = bindingContext[BindingContext.TYPE, ktTypeReference]
                ?: getKtTypeAsTypeArgument(ktTypeReference)
                ?: ErrorUtils.createErrorType(ErrorTypeKind.UNRESOLVED_TYPE, ktTypeReference.text)
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
         * For example, `foo.Foo.bar` may only refer to the extension callable `bar` with
         * a `foo.Foo` receiver type, and this function will only look for such combinations.
         *
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

        }
    
        override val token: KtLifetimeToken
            get() = analysisSession.token
    
        override fun resolveCall(psi: KtElement): KtCallInfo? = with(analysisContext.analyze(psi, AnalysisMode.PARTIAL_WITH_DIAGNOSTICS)) {
            if (!canBeResolvedAsCall(psi)) return null
    
            val parentBinaryExpression = psi.parentOfType<KtBinaryExpression>()
            val lhs = KtPsiUtil.deparenthesize(parentBinaryExpression?.left)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top