Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for loop (3.22 sec)

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

                firFunctionDeclarations.add(function)
                super.visitFunction(function)
            }
    
            override fun visitLoop(loop: FirLoop) {
                firLoopStatements.add(loop)
                super.visitLoop(loop)
            }
    
            override fun visitReturnExpression(returnExpression: FirReturnExpression) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtDataFlowInfoProvider.kt

         */
        public val hasMultipleJumpKinds: Boolean,
    
        /**
         * `true` if two or more jumps have different next-executed instructions.
         * Such as, there are both inner and outer loop `break`, or a `break` and `continue` for the same loop.
         */
        public val hasMultipleJumpTargets: Boolean,
    
        /**
         * local variable reassignments found in given statements.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                                    parent.`else` == child) && isUsed(parent))
    
                // For expressions use their loop range expression.
                is KtForExpression ->
                    parent.loopRange == child
    
                // While, DoWhile loops use their conditions, not their bodies
                is KtWhileExpressionBase ->
                    parent.condition == child
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbolProvider.kt

         * it is not possible to create [KaValueParameterSymbol], hence an error will be raised.
         *
         * If [KtParameter.isLoopParameter] is `true`, i.e. if the given [KtParameter] is a loop variable in `for` expression, then the function
         * returns [KaLocalVariableSymbol].
         *
         * Otherwise, returns [KaValueParameterSymbol].
         */
        public fun KtParameter.getParameterSymbol(): KaVariableLikeSymbol =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        useSiteSession: FirSession,
        annotationContainer: FirAnnotationContainer = firSymbol.fir,
    ): Boolean {
        return if (firSymbol.isFromCompilerRequiredAnnotationsPhase(classId, useSiteSession)) {
            // this loop by index is required to avoid possible ConcurrentModificationException
            val annotations = annotationContainer.resolvedCompilerRequiredAnnotations(firSymbol)
            for (index in annotations.indices) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. ChangeLog.md

    - [`KT-17694`](https://youtrack.jetbrains.com/issue/KT-17694) Smart cast impossible on var declared in init block with a secondary constructor
    - [`KT-47895`](https://youtrack.jetbrains.com/issue/KT-47895) NullPointerException in `PSICallResolver.resolveToDeprecatedMod` with incorrect loop range
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/exitPointEquivalence/breakContinueAndDefault.kt

    fun foo(a: Int) {
        val b: Int = 1
        loop1@ for (p in 1..b) {
            loop2@ for (n in 1..b) {
                <expr>if (a > 0) throw Exception("")
                if (a + b > 0) break@loop2
                if (a - b > 0) continue@loop1</expr>
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 253 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/breakContinue2.kt

    fun foo(a: Int) {
        val b: Int = 1
        loop1@ for (p in 1..b) {
            loop2@ for (n in 1..b) {
                <expr>if (a > 0) throw Exception("")
                if (a + b > 0) break@loop2
                if (a - b > 0) continue@loop1</expr>
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 06:40:43 UTC 2024
    - 253 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/exitPointEquivalence/multipleBreaks.txt

    KaDataFlowExitPointSnapshot:
      defaultExpressionInfo = null
      hasEscapingJumps = true
      hasJumps = true
      hasMultipleJumpKinds = false
      hasMultipleJumpTargets = true
      jumpExpressions = [
        break@loop1,
        break@loop2
      ]
      returnValueType = null
      valuedReturnExpressions = []
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 310 bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

    /**
     * An entry of an enum class.
     *
     * The type of the enum entry is the enum class itself. The members declared in an enum entry's body are local to the body and cannot be
     * accessed from the outside. Hence, while it might look like enum entries can declare their own members (see the example below), they do
     * not have a (declared) member scope.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top