Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for corresponding (0.31 sec)

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

     * 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]
     */
    fun FirDeclaration.findReferencePsi(): PsiElement? {
        return if (this is FirCallableDeclaration) {
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            findClassifierQualifierToShorten(classifierId, typeElement)?.let(::addElementToShorten)
        }
    
        /**
         * Retrieves the corresponding [KtUserType] PSI the given [FirResolvedTypeRef].
         *
         * This code handles some quirks of FIR sources and PSI:
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        }
    
        /**
         * When resolving the calleeExpression of a `KtCallExpression`, we resolve the entire `KtCallExpression` instead. This way, the
         * corresponding FIR element is the `FirFunctionCall`, etc. Implicit invoke is then specially handled after obtaining the
         * `FirImplicitInvokeCall`.
         *
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    val originalIndex = functionSymbol.valueParameterSymbols.indexOf(firSymbol)
                    if (originalIndex == -1) {
                        errorWithAttachment("Containing function doesn't have the corresponding parameter") {
                            withFirSymbolEntry("valueParameter", firSymbol)
                            withFirSymbolEntry("function", functionSymbol)
                        }
                    }
    
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        override fun getKtExpressionType(expression: KtExpression): KtType? {
            // There are various cases where we have no corresponding fir due to invalid code
            // Some examples:
            // ```
            // when {
            //   true, false -> {}
            // }
            // ```
            // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned.
            // ```
            // @Volatile
    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