Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sheugh (0.81 sec)

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

         *   - `run { x; println(50) }`
         *   - `when (x) { else -> ... }`
         *
         * **Note!** This is a conservative check, not a control-flow analysis.
         * E.g. `x` in the following example *is possibly used*, even though the
         * value is never consumed at runtime.
         *   - `x + try { throw Exception() } finally { return }`
         *
         */
        public fun KtExpression.isUsedAsExpression(): Boolean =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            }.let { typeMappingMode ->
                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
                if (type.fe10Type.arguments.isEmpty())
                    typeMappingMode
                else
                    typeMappingMode.updateArgumentModeFromAnnotations(
                        type.fe10Type,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirKotlinPropertySymbol.kt

                firSymbol.backingFieldSymbol?.let { builder.callableBuilder.buildBackingFieldSymbol(it) }
            }
    
        // NB: `field` in accessors indicates the property should have a backing field. To see that, though, we need BODY_RESOLVE.
        override val hasBackingField: Boolean
            get() = withValidityAssertion {
                firSymbol.lazyResolveToPhase(FirResolvePhase.BODY_RESOLVE)
                firSymbol.fir.hasBackingField
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt

                // Nevertheless, a `KaFirSession`'s validity is based on the underlying `LLFirSession`, so removed analysis sessions for
                // library modules might still be valid. This is not a problem, though, because analysis session caching is not required for
                // correctness, but rather a performance optimization.
                analysisSessionProvider.clearCaches()
            }
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top