Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for callableName (0.29 sec)

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

        override fun getPossibleCallableNames(): Set<Name> = withValidityAssertion {
            imports.flatMapTo(hashSetOf()) { listOfNotNull(it.callableName, it.aliasName) }
        }
    
        override fun getPossibleClassifierNames(): Set<Name> = withValidityAssertion {
            imports.flatMapTo((hashSetOf())) { listOfNotNull(it.relativeClassName?.shortName(), it.aliasName) }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirTopLevelCallableSymbolPointer.kt

    }
    
    private fun KaFirSession.getCallableSymbols(callableId: CallableId) =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substitutorProvider/AbstractCreateInheritanceTypeSubstitutorTest.kt

                                for (function in functions) {
                                    val signature = function.substitute(substitutor)
                                    append(signature.callableId!!.callableName.asString())
                                    printCollection(signature.valueParameters, prefix = "(", postfix = ")") {
                                        append(it.returnType.render(typeRenderer, position = Variance.IN_VARIANCE))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt

            }
    
            @Suppress("UNCHECKED_CAST")
            return memberScope
                .getContributedDescriptors(DescriptorKindFilter.CALLABLES) { it == callableId.callableName }
                .filterIsInstance<CallableMemberDescriptor>()
                .firstOrNull { it.getSymbolPointerSignature() == signature }
                ?.toKtCallableSymbol(analysisContext) as? T
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/base/KtFe10PsiSymbolUtils.kt

        }
    
        return CallableId(
            packageName = containingFile.packageFqName,
            className = if (className.isNotEmpty()) FqName.fromSegments(className.asReversed()) else null,
            callableName = Name.identifier(selfName),
            pathToLocal = if (localName.isNotEmpty()) FqName.fromSegments(localName.asReversed()) else null
        )
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        private fun FirRegularClass.isDeclared(): Boolean = symbol.classId.parentClassId == owner.classId
    
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean =
            callable.callableId.callableName != SpecialNames.INIT && callable.fir.isDeclared()
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 10 13:38:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSamConstructorSymbol.kt

            val callableId = firSymbol.callableId
            return KaFirSamConstructorSymbolPointer(ClassId(callableId.packageName, callableId.callableName))
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

            require(callableId.classId == null)
            return getTopLevelDeclarations(callableId.packageName, callableId.callableName)
        }
    
        private inline fun <reified T : KtNamedDeclaration> getTopLevelDeclarations(packageFqName: FqName, name: Name): Collection<T> {
            if (kotlinFile.packageFqName != packageFqName) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

                    it.getTopLevelCallableIds()
                }
                .filter { it.packageName == packageFqName }
                .map { it.callableName }
    
            return generatedTopLevelDeclarations.toSet()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/firScopeUtils.kt

    import org.jetbrains.kotlin.fir.scopes.processClassifiersByName
    import org.jetbrains.kotlin.name.Name
    
    
    internal fun FirScope.getCallableSymbols(
        callableNames: Collection<Name>,
        builder: KaSymbolByFirBuilder
    ): Sequence<KaCallableSymbol> = sequence {
        callableNames.forEach { name ->
            yieldList {
                processFunctionsByName(name) { firSymbol ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top