Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for site (0.2 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt

            bindingTrace: BindingTrace,
            componentProvider: ComponentProvider
        ): AnalysisResult? {
            // Single-module [KtFe10AnalysisHandlerExtension] can be registered without specific use-site module.
            // Simple null-check below will skip the bail-out.
            if (useSiteModule != null &&
                module.name.asString().removeSurrounding("<", ">") != useSiteModule.moduleName
            ) {
    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)
  2. ReadMe.md

    It is an open-source, statically typed programming language supported and developed by [JetBrains](https://www.jetbrains.com/) and open-source contributors.
    
    Some handy links:
    
     * [Kotlin Site](https://kotlinlang.org/)
     * [Getting Started Guide](https://kotlinlang.org/docs/tutorials/getting-started.html)
     * [Try Kotlin](https://play.kotlinlang.org/)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            unwrapUseSiteSubstitutionOverride()?.let { return it }
    
            unwrapInheritanceSubstitutionOverrideIfNeeded()?.let { return it }
    
            return null
        }
    
        /**
         * Use-site substitution override happens in situations like this:
         *
         * ```
         * interface List<A> { fun get(i: Int): A }
         *
         * fun take(list: List<String>) {
         *   list.get(10) // this call
         * }
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
            }
        }
    }
    
    /**
     * Use-site substitution override are tracked through [CallableDescriptor.getOriginal]. Note that overridden symbols are accessed through
     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                DeclaredMemberScopeKind.STATIC -> getStaticScope() ?: return null
    
                // Java enhancement scopes as provided by `JavaScopeProvider` are either use-site or static scopes, so we need to compose them
                // to get the combined scope. A base declared member scope with Java enhancement doesn't exist, unfortunately.
                DeclaredMemberScopeKind.COMBINED -> {
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt

            callableShortenStrategy: (KtCallableSymbol) -> ShortenStrategy,
        ): ShortenCommand {
            // Compiler implementation does nothing.
            // Descriptor-based shortening is implemented on the IDE plugin side.
            val ktFilePointer = SmartPointerManager.createPointer(file)
    
            return object : ShortenCommand {
                override val targetFile: SmartPsiElementPointer<KtFile> get() = ktFilePointer
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Nov 20 20:18:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        override fun processClassifiersByNameWithSubstitution(name: Name, processor: (FirClassifierSymbol<*>, ConeSubstitutor) -> Unit) {
            // We have to filter out classes from supertypes because the base scope might be a use-site scope that provides inner classes from
            // supertypes.
            delegate.processClassifiersByNameWithSubstitution(name) { classifier, substitutor ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                        withPsiEntry("parent", parent)
                    }
            }
        }
    }
    
    /**
     *  The left hand side of a `::` is regarded as used unless it refers to a type.
     *  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.
     */
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            // Some examples:
            // ```
            // when {
            //   true, false -> {}
            // }
            // ```
            // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned.
            // ```
            // @Volatile
            // private var
            // ```
            // Volatile does not have corresponding element, so `FirFileImpl` is returned
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.ACTUAL_TYPE_ALIAS_TO_CLASS_WITH_DECLARATION_SITE_VARIANCE) { firDiagnostic ->
            ActualTypeAliasToClassWithDeclarationSiteVarianceImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ACTUAL_TYPE_ALIAS_WITH_USE_SITE_VARIANCE) { firDiagnostic ->
            ActualTypeAliasWithUseSiteVarianceImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
Back to top