- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for from (0.15 sec)
-
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 May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 12.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
} /** * 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]. */ @Suppress("UNCHECKED_CAST") private fun <T : CallableDescriptor> T.unwrapUseSiteSubstitutionOverride(): T { var current: CallableDescriptor = this
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) -
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) -
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} if (firSymbol.origin == FirDeclarationOrigin.DynamicScope) { // A callable declaration from dynamic scope has no containing declaration as it comes from a dynamic type // which is not based on a specific classifier return null } } is KtClassLikeSymbol -> {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
} } } } private class BuilderCache<From, To : KtSymbol> { private val cache = ContainerUtil.createConcurrentWeakKeySoftValueMap<From, To>() inline fun <reified S : To> cache(key: From, calculation: () -> S): S { val value = cache.getOrPut(key, calculation) return value as? S
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
} } /** * Try to get fir element for type reference through symbols. * When the type is declared in compiled code this is faster than building FIR from decompiled text. */ private fun KtTypeReference.getFirBySymbols(): FirElement? { val parent = parent return when {
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) -
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) -
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) -
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)