Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KaSmartCastInfo (0.54 sec)

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

            return this === other ||
                    other is KaSmartCastInfo &&
                    other.backingSmartCastType == backingSmartCastType &&
                    other.backingIsStable == backingIsStable
        }
    
        override fun hashCode(): Int = Objects.hash(backingSmartCastType, backingIsStable)
    }
    
    public typealias KtSmartCastInfo = KaSmartCastInfo
    
    public class KaImplicitReceiverSmartCast(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

            }
        }
    
        override fun getSmartCastedInfo(expression: KtExpression): KaSmartCastInfo? {
            val firSmartCastExpression = getMatchingFirExpressionWithSmartCast(expression) ?: return null
            return getSmartCastedInfo(firSmartCastExpression)
        }
    
        private fun getSmartCastedInfo(expression: FirSmartCastExpression): KaSmartCastInfo? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SmartCastProvider.kt

                stableSmartCasts != null -> {
                    val type = stableSmartCasts.getKtType() ?: return null
                    KaSmartCastInfo(type, true, token)
                }
                unstableSmartCasts != null -> {
                    val type = unstableSmartCasts.getKtType() ?: return null
                    KaSmartCastInfo(type, false, token)
                }
                else -> null
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top