Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KtSmartCastInfo (0.21 sec)

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

                stableSmartCasts != null -> {
                    val type = stableSmartCasts.getKtType() ?: return null
                    KtSmartCastInfo(type, true, token)
                }
                unstableSmartCasts != null -> {
                    val type = unstableSmartCasts.getKtType() ?: return null
                    KtSmartCastInfo(type, false, token)
                }
                else -> null
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Aug 15 21:46:11 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

            }
        }
    
        override fun getSmartCastedInfo(expression: KtExpression): KtSmartCastInfo? {
            val firSmartCastExpression = getMatchingFirExpressionWithSmartCast(expression) ?: return null
            return getSmartCastedInfo(firSmartCastExpression)
        }
    
        private fun getSmartCastedInfo(expression: FirSmartCastExpression): KtSmartCastInfo? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 14 10:03:02 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top