Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for references (0.17 sec)

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

    import org.jetbrains.kotlin.utils.addIfNotNull
    
    internal object KDocReferenceResolver {
        /**
         * [symbol] is the symbol referenced by this resolve result.
         *
         * [receiverClassReference] is an optional receiver type in
         * the case of extension function references (see [getTypeQualifiedExtensions]).
         */
        private data class ResolveResult(val symbol: KtSymbol, val receiverClassReference: KtClassLikeSymbol?)
    
    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)
  2. 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

    import org.jetbrains.kotlin.fir.pipeline.*
    import org.jetbrains.kotlin.fir.psi
    import org.jetbrains.kotlin.fir.references.FirReference
    import org.jetbrains.kotlin.fir.references.FirThisReference
    import org.jetbrains.kotlin.fir.references.toResolvedSymbol
    import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
    import org.jetbrains.kotlin.fir.symbols.lazyResolveToPhaseRecursively
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  4. 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)
  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/components/KtFirImportOptimizer.kt

            return propertyNameExpression?.getReferencedNameAsName()
        }
    
    /**
     * Referenced callable symbol, even if it not completely correctly resolved.
     */
    private val FirQualifiedAccessExpression.referencedCallableSymbol: FirCallableSymbol<*>?
        get() {
            return toResolvedCallableSymbol()
        }
    
    /**
     * Referenced [ClassId], even if it is not completely correctly resolved.
     */
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            // If the position is in KDoc, we want to pass the owning declaration to the ContextCollector.
            // That way, the resulting scope will contain all the nested declarations which can be references by KDoc.
            val parentKDoc = positionInFakeFile.parentOfType<KDoc>()
            val correctedPosition = parentKDoc?.owner ?: positionInFakeFile
    
            val context = ContextCollector.process(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

    import org.jetbrains.kotlin.fir.declarations.*
    import org.jetbrains.kotlin.fir.expressions.*
    import org.jetbrains.kotlin.fir.expressions.impl.FirUnitExpression
    import org.jetbrains.kotlin.fir.psi
    import org.jetbrains.kotlin.fir.references.FirReference
    import org.jetbrains.kotlin.fir.resolve.dfa.cfg.AnonymousObjectExpressionExitNode
    import org.jetbrains.kotlin.fir.resolve.dfa.cfg.CFGNode
    import org.jetbrains.kotlin.fir.resolve.dfa.cfg.CFGNodeWithSubgraphs
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top