- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for callables (0.24 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirCallableFilteringScope.kt
baseScope.processAllCallables { callable -> if (isTargetCallable(callable)) { add(callable.name) } } } } override fun getCallableNames(): Set<Name> = cachedCallableNames override fun processFunctionsByName(name: Name, processor: (FirNamedFunctionSymbol) -> Unit) { if (!cachedCallableNames.contains(name)) return
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Oct 10 13:38:00 GMT 2023 - 2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt
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. *
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt
* non-static scopes. */ internal class FirNonStaticMembersScope( private val delegate: FirContainingNamesAwareScope, ) : FirCallableFilteringScope(delegate) { override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean = !callable.fir.isStatic override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) { delegate.processDeclaredConstructors(processor) }
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Tue Oct 10 13:38:00 GMT 2023 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt
?: MemberScope.Empty } else { analysisContext.resolveSession.moduleDescriptor.getPackage(callableId.packageName).memberScope } @Suppress("UNCHECKED_CAST") return memberScope .getContributedDescriptors(DescriptorKindFilter.CALLABLES) { it == callableId.callableName } .filterIsInstance<CallableMemberDescriptor>()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Sep 21 12:40:44 GMT 2023 - 2.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
} private fun KtAnalysisSession.collectSymbolsByFqNameInterpretationAsCallableId( callableId: CallableId, consumer: MutableCollection<KtSymbol>, ) { when (val classId = callableId.classId) { null -> { consumer.addAll(getTopLevelCallableSymbols(callableId.packageName, callableId.callableName)) } else -> {
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) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
Eine Python-Klasse ist also auch ein **Callable**. Darum können Sie in **FastAPI** auch eine Python-Klasse als Abhängigkeit verwenden. Was FastAPI tatsächlich prüft, ist, ob es sich um ein „Callable“ (Funktion, Klasse oder irgendetwas anderes) handelt und ob die Parameter definiert sind.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:58 GMT 2024 - 12.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
return ClassLiteralResolutionResult(type.toKtType(analysisContext), classId) } internal val CallableMemberDescriptor.callableIdIfNotLocal: CallableId? get() = calculateCallableId(allowLocal = false) internal fun CallableMemberDescriptor.calculateCallableId(allowLocal: Boolean): CallableId? { if (this is SyntheticJavaPropertyDescriptor) { return getMethod.calculateCallableId(allowLocal)?.copy(callableName = name) }
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) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
So, a Python class is also a **callable**. Then, in **FastAPI**, you could use a Python class as a dependency. What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
else -> return true } val resolution = reference.resolve() return resolution != null && resolution !is KtClass } /** * Invocations of _statically named_ callables is not considered a use. E.g. * consider * * 1) fun f() { 54 }; f() * 2) val f = { 54 }; f() * * in which the `f` in 2) is regarded as used and `f` in 1) is not. */
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0)