Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Outer (0.24 sec)

  1. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/break.kt

    fun test() {
        outer@ while (cond()) {
            consume(1)
            while (cond()) {
                consume(2)
                <expr>if (cond()) {
                    break
                } else if (cond()) {
                    break@outer
                }</expr>
            }
        }
    }
    
    fun consume(obj: Any?) {}
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 316 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/break.txt

        expression = if (cond()) {
                        break
                    } else if (cond()) {
                        break@outer
                    }
        type = kotlin.Unit
      hasEscapingJumps = true
      hasJumps = true
      hasMultipleJumpKinds = false
      hasMultipleJumpTargets = true
      jumpExpressions = [
        break,
        break@outer
      ]
      returnValueType = null
      valuedReturnExpressions = []
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 489 bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

         *
         * ```
         * typealias Inner = String
         * typealias Outer = Inner
         *
         * val outer: Outer = ""
         * ```
         *
         * Here, `outer`'s type would be expanded to `String`, but its abbreviated type would be `Outer`. `Inner` would be lost.
         */
        public val abbreviatedType: KaUsualClassType?
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *
         * N.B. Even if the [wholeQualifierElement] is not strictly in the [selection],
         * some outer part of it might be, and we want to shorten that.
         * So we have to check all the outer qualifiers.
         */
        private fun findClassifierQualifierToShorten(
            wholeQualifierClassId: ClassId,
            wholeQualifierElement: KtElement,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         *
         * Such substitute overrides happen because of inheritance.
         *
         * If the declaration references only its own type parameters, or parameters from the outer declarations, then
         * we consider that it's signature will not be changed by the SUBSTITUTION_OVERRIDE, so the wrapper can be unwrapped.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaFirDiagnostic.NoTypeArgumentsOnRhs
    
    internal class OuterClassArgumentsRequiredImpl(
        override val outer: KaClassLikeSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaFirDiagnostic.OuterClassArgumentsRequired
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 227.2K bytes
    - Viewed (0)
  8. ChangeLog.md

    - [`KT-62892`](https://youtrack.jetbrains.com/issue/KT-62892) K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type position
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

         */
        private fun FirNamedReference.getCorrespondingTypeIfPossible(): ConeKotlinType? =
            findOuterPropertyAccessExpression()?.resolvedType
    
        /**
         * Finds an outer expression for [this] named reference in cases when it is a part of a property access.
         *
         * Otherwise, return null.
         */
        private fun FirNamedReference.findOuterPropertyAccessExpression(): FirExpression? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                        // `outerClassId`.
                        if (receiverExpression == expression) {
                            // If there is still an outer class, then return symbol of that class
                            outerClassId?.let { return listOfNotNull(it.toTargetPsi(session, symbolBuilder)) }
                            // Otherwise, it should be a package, so we return that
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top