Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Reference (0.2 sec)

  1. ReadMe.md

     * [Kotlin Multiplatform Benefits](https://kotlinlang.org/docs/reference/multiplatform.html)
     * [Share code on all platforms](https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-all-platforms)
     * [Share code on similar platforms](https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-similar-platforms)
    
    ## Editing Kotlin
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                }
    
                is FirFunctionCall -> {
                    val reference = calleeReference as? FirResolvedNamedReference ?: return null
                    when (val resolvedSymbol = reference.resolvedSymbol) {
                        is FirConstructorSymbol -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

     *  We decide that the LHS is a type reference by checking if the left hand
     *  side is a (qualified) name, and, in case it _is_, resolving that name.
     *
     *  If it resolves to a non-class declaration, it does _not_ refer to a type.
     */
    private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
        val reference = when (val inner = lhs.unwrapParenthesesLabelsAndAnnotations()) {
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

        }
    
    /**
     * A name by which referenced functions was called.
     */
    private val FirFunctionCall.functionReferenceName: Name?
        get() {
            toResolvedCallableReference()?.let { return it.name }
    
            // unresolved reference has incorrect name, so we have to retrieve it by PSI
            val wholeCallExpression = realPsi as? KtExpression
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.fir.psi
    import org.jetbrains.kotlin.fir.references.FirNamedReference
    import org.jetbrains.kotlin.fir.references.FirResolvedNamedReference
    import org.jetbrains.kotlin.fir.references.toResolvedPropertySymbol
    import org.jetbrains.kotlin.fir.references.toResolvedVariableSymbol
    import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                        "Referenced classId $referencedClassId should end with qualifiedAccess expression ${qualifiedAccess.text} "
                    }
                }
    
                // In the code below, we always maintain the contract that `classId` and `qualifiedAccess` should stay "in-sync", i.e. they
                // refer to the same class and classId should be null if `qualifiedAccess` references to a package.
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.NO_CONSTRUCTOR,
                Errors.OVERLOAD_RESOLUTION_AMBIGUITY,
                Errors.NONE_APPLICABLE,
                Errors.CANNOT_COMPLETE_RESOLVE,
                Errors.UNRESOLVED_REFERENCE_WRONG_RECEIVER,
                Errors.CALLABLE_REFERENCE_RESOLUTION_AMBIGUITY,
                Errors.TYPE_PARAMETER_AS_REIFIED,
                Errors.DEFINITELY_NON_NULLABLE_AS_REIFIED,
                Errors.REIFIED_TYPE_FORBIDDEN_SUBSTITUTION,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 14 06:10:31 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        /**
         * It only makes sense to provide type for the references which reference some actual properties/variables.
         *
         * In cases when the name reference references a function (a REAL function, not a functional type variable), it does not
         * make sense to provide any type for it.
         *
         * ---
         *
         * Why not just always provide null for name references? In such case, the following case would be a problem:
         *
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    }
                }
                else -> throwUnexpectedFirElementError(fir, ktTypeReference)
            }
        }
    
        /**
         * Try to get fir element for type reference through symbols.
         * When the type is declared in compiled code this is faster than building FIR from decompiled text.
         */
        private fun KtTypeReference.getFirBySymbols(): FirElement? {
            val parent = parent
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         *
         * 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.
         *
         * This have a few caveats when it comes to the inner classes. TODO Provide a reference to some more in-detail description of that.
         *
    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)
Back to top