- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for tryLock (0.08 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// Body and catch blocks of try-catch expressions are used if the try-catch itself // is used. is KtTryExpression -> (parent.tryBlock == child || child in parent.catchClauses) && isUsed(parent) // If expressions always use their condition, and the branches are used if the // If itself is used as an expression.
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
val tryExpression = expression.unwrapQualified<KtTryExpression> { tryExpression, currentExpression -> currentExpression == tryExpression.tryBlock } ?: return null return getExpectedType(tryExpression) } private fun getExpectedTypeOfElvisOperand(expression: PsiElement): KaType? {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 24.4K bytes - Viewed (0)