Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Copeland (0.42 sec)

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

        private fun getExpectedTypeOfElvisOperand(expression: PsiElement): KtType? {
            val binaryExpression = expression.unwrapQualified<KtBinaryExpression> { binaryExpression, operand ->
                binaryExpression.operationToken == KtTokens.ELVIS && (operand == binaryExpression.left || operand == binaryExpression.right)
            } ?: return null
            if (expression !is KtExpression) return null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // Binary expressions with type RHS always use its operand.
                is KtBinaryExpressionWithTypeRHS ->
                    parent.left == child
    
                // Is expressions always use their LHS.
                is KtIsExpression ->
                    parent.leftHandSide == child
    
                // Unary expressions always use its operand.
                is KtUnaryExpression ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top