Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Content (0.17 sec)

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

         * @param fullFqName the whole fully qualified name of the KDoc
         * @param contextElement the context element in which the KDoc is defined
         *
         * @return the collection of KtSymbol(s) resolved from the fully qualified name
         *         based on the selected FqName and context element
         */
        internal fun resolveKdocFqName(
            analysisSession: KtAnalysisSession,
            selectedFqName: FqName,
    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/components/KtFirSymbolContainingDeclarationProvider.kt

                if (result == null) {
                    val containingFile = psi.containingFile
                    if (containingFile is KtCodeFragment) {
                        // All content inside a code fragment is implicitly local, but there is no non-local parent
                        return null
                    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                if (firStatement is FirExpression && firStatement.resolvedType == firLeaf.resolvedType) {
                    // Trivial blocks might not appear in the CFG, so here we include their content
                    return firStatement
                }
            }
    
            return firLeaf
        }
    
        private fun computeCommonParent(statements: List<KtElement>): FirElement {
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            val sessionHolder = SessionHolderImpl(fileSession, fileSession.getScopeSession())
    
            val context = ContextCollector.process(firFile, sessionHolder, position)
                ?: errorWithAttachment("Cannot find context for ${position::class}") {
                    withPsiEntry("position", position)
                }
    
            return context.towerDataContext.implicitReceiverStack.map { it.type.asKtType() }
        }
    
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            val context = ContextCollector.process(
                fakeFile.getOrBuildFirFile(firResolveSession),
                SessionHolderImpl(analysisSession.useSiteSession, getScopeSession()),
                correctedPosition,
            )
    
            val towerDataContext =
                context?.towerDataContext
                    ?: errorWithAttachment("Cannot find context for ${positionInFakeFile::class}") {
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                    // The main file needs to be the last so caches for the context declarations are populated in FIR-to-IR.
                    remove(file)
                }
    
                addAll(dependencyFiles)
                add(file)
            }
    
            // Files in the code fragment context module are compiled together with the code fragment itself.
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            val call = element.getResolvedCall(context) ?: return null
            return call.toPropertyRead(context)?.let { createCallInfo(context, element, it, listOf(call)) }
        }
    
        private fun ResolvedCall<*>.toPropertyRead(context: BindingContext): KtVariableAccessCall? {
            val partiallyAppliedSymbol = toPartiallyAppliedVariableSymbol(context) ?: return null
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        val context = (useSitePosition as? KtLightElement<*, *>)?.kotlinOrigin ?: useSitePosition
        // Local type is available if it's inside the same context (containing declaration)
        // or containing declaration is inside the local type, e.g., a member of the local class
        return localPsi == context ||
                localPsi.parents.any { it == context } ||
                context.parents.any { it == localPsi }
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top