Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Filters (0.2 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * This method intentionally mirrors the appearance
         * of the [classShortenStrategy] and [callableShortenStrategy] filters,
         * but ATM we don't have a way to properly handle
         * [FirThisReference]s through the existing filters.
         *
         * We need a better way to decide shortening strategy
         * for labeled and regular `this` expressions (KT-63555).
         */
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatedMemberScope.kt

            return super.getCallableSymbols(nameFilter).filter { it.origin == KtSymbolOrigin.DELEGATED }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
            return super.getCallableSymbols(names).filter { it.origin == KtSymbolOrigin.DELEGATED }
        }
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Mon May 22 19:21:34 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

        }
    
        override fun getCallableSymbols(nameFilter: KtScopeNameFilter): Sequence<KtCallableSymbol> = withValidityAssertion {
            firScope.getCallableSymbols(getPossibleCallableNames().filter(nameFilter), analysisSession.firSymbolBuilder)
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10MultiplatformInfoProvider.kt

            return ExpectedActualResolver.findExpectedForActual(memberDescriptor).orEmpty().asSequence()
                .filter { it.key.isCompatibleOrWeaklyIncompatible }
                .flatMap { it.value }
                .map { it.toKtSymbol(analysisContext) as KtDeclarationSymbol }
                .toList()
        }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Nov 06 14:41:15 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val entryExpressions = whenExpression.entries
                .mapNotNull { it.expression }
                .filter { entryExpression -> entryExpression != expression }
            val types = entryExpressions.mapNotNull { getKtExpressionNonErrorType(it) }
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                        localName += current.name.asString()
                    } else {
                        className += current.name.asString()
                    }
                }
                is PropertyAccessorDescriptor -> {} // Filter out property accessors
                is CallableDescriptor -> {
                    if (!allowLocal) {
                        return null
                    }
    
                    localName += current.name.asString()
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
                }.mapToDelegatedIfRequired()
            }
    
            override fun getContributedFunctions(name: Name, location: LookupLocation): Collection<SimpleFunctionDescriptor> {
                return allMemberScope.getContributedFunctions(name, location).filter {
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatingTypeScope.kt

        }
    
        override fun getCallableSignatures(nameFilter: KtScopeNameFilter): Sequence<KtCallableSignature<*>> = withValidityAssertion {
            firScope.getCallableSignatures(getPossibleCallableNames().filter(nameFilter), builder)
        }
    
        override fun getCallableSignatures(names: Collection<Name>): Sequence<KtCallableSignature<*>> = withValidityAssertion {
            firScope.getCallableSignatures(names, builder)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:15 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            return possibleReceivers.flatMap { receiverClassSymbol ->
                val receiverType = buildClassType(receiverClassSymbol)
                val applicableExtensions = possibleExtensions.filter { canBeReferencedAsExtensionOn(it, receiverType) }
    
                applicableExtensions.map { it.toResolveResult(receiverClassReference = receiverClassSymbol) }
            }
        }
    
    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)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                printer.append("?")
            }
        }
    
        private fun Fe10AnalysisContext.renderTypeAnnotationsDebug(type: KotlinType, printer: PrettyPrinter) {
            val annotations = type.annotations
                .filter { it.annotationClass?.classId != StandardClassIds.Annotations.ExtensionFunctionType }
    
            printer.printCollectionIfNotEmpty(annotations, separator = " ", postfix = "  ") {
                renderTypeAnnotationDebug(it, printer)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top