- Sort Score
- Result 10 results
- Languages All
Results 31 - 33 of 33 for tryLock (0.15 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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
} } private fun MethodVisitor.compiledScriptClassInstantiation(compiledScriptClass: InternalName, instantiation: MethodVisitor.() -> Unit) { TRY_CATCH<Throwable>( tryBlock = { instantiation() }, catchBlock = { emitOnScriptException(compiledScriptClass) } ) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0)