Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for from (0.14 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.platform.jvm.isJvm
    
    /**
     * Provides top-level names for classifiers and callables in given packages. Apart from names found in sources and binaries,
     * [DeclarationsInPackageProvider] also collects names for classifiers and callables generated by
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            generateSequence(this) { it.outerClassId }.drop(classesToDrop).firstOrNull()
    
        /**
         * @return How many qualifiers needs to be dropped from [wholeType] to get [nestedType].
         *
         * Example: to get `foo.bar` from `foo.bar.Baz.Inner`, you need to drop 2 qualifiers (`Inner` and `Baz`).
         */
        private fun countQualifiersToDrop(wholeType: KtUserType, nestedType: KtUserType): Int {
    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. ReadMe.md

    to select and auto-provision required JDKs from [AdoptOpenJdk](https://adoptopenjdk.net) project.
    
    Alternatively, it is still possible to only provide required JDKs via environment variables 
    (see [gradle.properties](./gradle.properties#L5) for supported variable names). To ensure Gradle uses only JDKs 
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescValueParameterSymbol.kt

                        // Implicit lambda parameter doesn't have a source PSI.
                        descriptor.source.getPsi() == null &&
                        // But, that could be the case for a declaration from Library. Double-check the slice in the binding context
                        (descriptor.containingDeclaration.source.getPsi() as? KtFunctionLiteral)?.let { parentLambda ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                return file?.psi is KtCodeFragment
            }
    
            val (irCodeFragmentFiles, irOrdinaryFiles) = fir2IrResult.irModuleFragment.files.partition(::isCodeFragmentFile)
    
            // Collect original declarations from the context files
            val collectingVisitor = IrDeclarationMappingCollectingVisitor()
            irOrdinaryFiles.forEach { it.acceptVoid(collectingVisitor) }
    
            // Replace duplicate symbols with the original ones
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                 * no separate symbol for that case.
                 *
                 * Java statics present a similar case - they can be imported not only from the declaring class,
                 * but also from any subclass.
                 */
                private fun FirQualifiedAccessExpression.importableNameForImplicitlyDispatchedCallable(): FqName? {
                    val dispatchReceiver = dispatchReceiver
    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

                DeclaredMemberScopeKind.COMBINED -> {
                    // The static scope contains inner classes, so we need to exclude them from the non-static scope to avoid duplicates.
                    val nonStaticScope = FirNoClassifiersScope(getBaseUseSiteScope())
                    getStaticScope()
    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/KtFirPsiTypeProvider.kt

                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
                // Return `null` means we will use [fir.resolve.substitution.Substitutors]'s [substituteRecursive]
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * this List<FirScope> is closer than [base] based on the distance from [from].
         */
        private fun List<FirScope>.hasScopeCloserThan(base: FirScope, from: KtElement) = any { scope ->
            if (scope.isScopeForClass() && base.isScopeForClass()) {
                val classContainingFrom = from.findClassOrObjectParent() ?: return@any false
    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)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    getContributedFunctions(name, NoLookupLocation.FROM_IDE).isNotEmpty()
                }
            }
    
            override fun getVariableNames(): Set<Name> {
                return allMemberScope.getVariableNames().filterTo(mutableSetOf()) { name ->
                    getContributedVariables(name, NoLookupLocation.FROM_IDE).isNotEmpty()
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
Back to top