Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for statement (0.27 sec)

  1. .idea/inspectionProfiles/idea_default.xml

            <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false" />
            <option name="DONT_REPORT_TRUE_ASSERT_STATEMENTS" value="false" />
          </scope>
          <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false" />
          <option name="DONT_REPORT_TRUE_ASSERT_STATEMENTS" value="false" />
        </inspection_tool>
        <inspection_tool class="ConstantIfStatement" enabled="true" level="WARNING" enabled_by_default="true">
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Nov 09 20:59:03 GMT 2023
    - 32.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
         *
    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)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                        return kotlinType?.toKtNonErrorType(analysisContext)
                    }
                }
    
                is KtBlockExpression -> {
                    if (expression == parentExpression.statements.lastOrNull()) {
                        val functionLiteral = parentExpression.parent as? KtFunctionLiteral
                        if (functionLiteral != null) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                }
            }
    
            return firLeaf
        }
    
        private fun computeCommonParent(statements: List<KtElement>): FirElement {
            require(statements.isNotEmpty())
    
            val parent = statements[0].parent as KtElement
    
            for (i in 1..<statements.size) {
                require(statements[i].parent == parent)
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val blockExpression = expression.unwrapQualified<KtBlockExpression> { blockExpression, currentExpression ->
                currentExpression == blockExpression.statements.lastOrNull()
            } ?: return null
    
            val functionLiteral = blockExpression.parent as? KtFunctionLiteral
            return if (functionLiteral != 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)
Back to top