Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Content (0.19 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirConstructorSymbol.kt

        override val isExpect: Boolean get() = withValidityAssertion { firSymbol.isExpect }
    
        override val typeParameters by cached { firSymbol.createKtTypeParameters(builder) }
    
    
        context(KtAnalysisSession)
        override fun createPointer(): KtSymbolPointer<KtConstructorSymbol> = withValidityAssertion {
            KtPsiBasedSymbolPointer.createForSymbolFromSource<KtConstructorSymbol>(this)?.let { return it }
    Plain Text
    - Registered: Fri Feb 23 08:18:11 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

        override val contextReceivers: List<KtContextReceiver>
            get() = withValidityAssertion {
                fe10Type.getContextReceiverTypesFromFunctionType().map { receiverType ->
                    // Context receivers in function types may not have labels, hence the `null` label.
                    KtContextReceiverImpl(
                        receiverType.toKtType(analysisContext),
                        label = null,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

         * [isUsed] and [doesParentUseChild] are defined in mutual recursion,
         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                    put(JVMConfigurationKeys.DO_NOT_CLEAR_BINDING_CONTEXT, true)
                }
    
            val disableInline = effectiveConfiguration.getBoolean(CommonConfigurationKeys.DISABLE_INLINE)
    
            // The binding context needs to be built from all files with reachable inline functions, as such files may contain classes whose
            // descriptors must be available in the binding context for the IR backend. Note that the full bytecode is only generated for
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt

    import org.jetbrains.kotlin.analyzer.AnalysisResult
    import org.jetbrains.kotlin.container.ComponentProvider
    import org.jetbrains.kotlin.container.get
    import org.jetbrains.kotlin.context.ProjectContext
    import org.jetbrains.kotlin.descriptors.ModuleDescriptor
    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.resolve.BindingContext
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Jan 26 16:20:19 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. 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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirBackingFieldSymbol.kt

        override val owningProperty: KtKotlinPropertySymbol
            get() = withValidityAssertion {
                builder.variableLikeBuilder.buildPropertySymbol(firSymbol.propertySymbol) as KtKotlinPropertySymbol
            }
    
        context(KtAnalysisSession)
        override fun createPointer(): KtSymbolPointer<KtBackingFieldSymbol> = withValidityAssertion {
            KtFirBackingFieldSymbolPointer(owningProperty.createPointer())
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    filter = { ContextCollector.FilterResponse.CONTINUE }
                )
    
                return FirTowerDataContextProvider(contextProvider)
            }
        }
    
        fun getClosestAvailableParentContext(ktElement: KtElement): FirTowerDataContext? {
            for (parent in ktElement.parentsWithSelf) {
    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)
Back to top