Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Pike (0.18 sec)

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

                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
                if (this is KtQualifiedExpression && selectorExpression is KtCallExpression) return false
    
                // expressions like `foo.|bar|` or `foo?.|baz|` are ignored
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 14 10:03:02 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

        } ?: FirSyntheticFunctionInterfaceSourceProvider.findPsi(fir)
    }
    
    /**
     * Finds [PsiElement] which will be used as go-to referenced element for [KtPsiReference]
     * For data classes & enums generated members like `copy` `componentN`, `values` it will return corresponding enum/data class
     * Otherwise, behaves the same way as [findPsi] returns exact PSI declaration corresponding to passed [FirDeclaration]
     */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 16:46:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            }
        }
    
        /**
         * Tries to resolve [fqName] into available extension callables (functions or properties)
         * prefixed with a suitable extension receiver type (like in `Foo.bar`, or `foo.Foo.bar`).
         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
         * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but
         * [KtNameReferenceExpression].
         */
        private val FirResolvedTypeRef.correspondingTypePsi: KtUserType?
            get() {
                val sourcePsi = when {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        ): List<KtSymbol> {
            // Handle situation when we're in the middle/beginning of qualifier
            // <caret>A.B.C.foo() or A.<caret>B.C.foo()
            // NB: in this case we get some parent FIR, like FirBlock, FirProperty, FirFunction or the like
            var parent = expression.parent as? KtDotQualifiedExpression
            var unresolvedCounter = 1
            while (parent != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompileTimeConstantProvider.kt

                    } catch (e: ArithmeticException) {
                        KtConstantValue.KtErrorConstantValue(e.localizedMessage, sourcePsi)
                    }
                }
                // For invalid code like the following,
                // ```
                // when {
                //   true, false -> {}
                // }
                // ```
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        private fun inapplicableCandidateDiagnostic() = KtNonBoundToPsiErrorDiagnostic(null, "Inapplicable candidate", token)
    
        /**
         * Resolves call expressions like `Foo<Bar>` or `test.Foo<Bar>` in calls like `Foo<Bar>::foo`, `test.Foo<Bar>::foo` and class literals like `Foo<Bar>`::class.java.
         *
         * We have a separate [KtGenericTypeQualifier] type of [KtCall].
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  8. ChangeLog.md

    - [`KT-57179`](https://youtrack.jetbrains.com/issue/KT-57179) FIR: preserve prefix increment behavior like in K1 by calling getter twice
    - [`KT-57405`](https://youtrack.jetbrains.com/issue/KT-57405) K2. Function call ambiguity error when nullable String is passed to function with Spring `@Nullable` annotation in signature
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            unwrapInheritanceSubstitutionOverrideIfNeeded()?.let { return it }
    
            return null
        }
    
        /**
         * Use-site substitution override happens in situations like this:
         *
         * ```
         * interface List<A> { fun get(i: Int): A }
         *
         * fun take(list: List<String>) {
         *   list.get(10) // this call
         * }
         * ```
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                    typeMapper.typeContext.getOptimalModeForValueParameter(type.fe10Type)
            }.let { typeMappingMode ->
                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
                if (type.fe10Type.arguments.isEmpty())
                    typeMappingMode
                else
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top