Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for James (0.24 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
     * [FirDeclarationGenerationExtension][org.jetbrains.kotlin.fir.extensions.FirDeclarationGenerationExtension]s.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt

        }
    }
    
    /**
     * Render the names contained in the scope, provided by [KaScope.getPossibleClassifierNames] and [KaScope.getPossibleCallableNames].
     * Scope tests should not forget checking contained names, as they're a public part of the [KaScope] API.
     *
     * Note: Many scopes wouldn't work correctly if the contained name sets were broken, as these names are often the basis for the search.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirFileScope.kt

                    }
                }
            }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirBasedScope.kt

            firScope.getCallableSymbols(getPossibleCallableNames().filter(nameFilter), builder)
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            firScope.getCallableSymbols(names, builder)
        }
    
        override fun getClassifierSymbols(nameFilter: KaScopeNameFilter): Sequence<KaClassifierSymbol> = withValidityAssertion {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

                .mapNotNull { it.toKtSymbol(analysisContext) as? KaCallableSymbol }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

            getTopLevelDeclarations(nameFilter) { it.getTopLevelCallables() }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/scopes/KtEmptyScope.kt

        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            return emptySequence()
        }
    
        override fun getClassifierSymbols(nameFilter: KaScopeNameFilter): Sequence<KaClassifierSymbol> = withValidityAssertion {
            return emptySequence()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolDeclarationOverridesProvider/AbstractOverriddenDeclarationProviderTest.kt

                .toList()
                .asReversed()
    
            val chunks = mutableListOf<String>()
    
            for ((index, parent) in parentsWithSelf.withIndex()) {
                // Render qualified names for top-level declarations
                if (index == 0) {
                    val qualifiedName = when (parent) {
                        is KaClassLikeSymbol -> parent.classId?.toString()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

            constructor: (KaParameterSymbol) -> T
        ): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KaParameterSymbol)
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt

                    renderContainedNamesIfExists(declaredScopeByTypeScope)
                }
    
                testServices.assertions.assertEqualsToTestDataFileSibling(actualNames, extension = ".names.txt")
            }
        }
    
        private fun KaSession.renderForTests(typeScope: KaTypeScope): String {
            val callables = typeScope.getCallableSignatures().toList()
            return prettyPrint {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top