- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for handik (0.28 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtCallableSignature.kt
* ``` * fun test(l: List<String>) { * l.get(1) // The symbol `get` has type `(Int) -> T` where is the type parameter declared in `List`. * // On the other hand, a `KaCallableSignature` carries instantiated type information `(Int) -> String`. * } * ``` * * Equality of [KaCallableSignature] is derived from its content. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt
* * Although this can be viewed as a flexible type (kotlin.Nothing..kotlin.Any?), a platform may assign special meaning to the * values of dynamic type, and handle differently from the regular flexible type. */ public abstract class KaDynamicType : KaType
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 8.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
withPsiEntry("parent", parent) } } } } /** * The left hand side of a `::` is regarded as used unless it refers to a type. * We decide that the LHS is a type reference by checking if the left hand * side is a (qualified) name, and, in case it _is_, resolving that name. * * If it resolves to a non-class declaration, it does _not_ refer to a type.
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
expression: KtSimpleNameExpression, analysisSession: KaFirSession, session: FirSession, symbolBuilder: KaSymbolByFirBuilder, ): List<KaSymbol> { // Handle situation when we're in the middle/beginning of qualifier // <caret>A.B.C.foo() or A.<caret>B.C.foo() // NB: in this case we get some parent FIR, like FirBlock, FirProperty, FirFunction or the like
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt
val constructorSymbol = annotation.calleeReference.toResolvedConstructorSymbol() if (constructorSymbol != null) { return constructorSymbol } } // Handle unresolved annotation calls gracefully @OptIn(UnresolvedExpressionTypeAccess::class) val annotationClass = annotation.coneTypeOrNull?.toClassSymbol(session)?.fir ?: return null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:43 UTC 2024 - 6.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt
withPsiEntry("psi", psi, analysisSession::getModule) } } // Specially handle @ExtensionFunctionType if (dispatchReceiver?.resolvedType?.isExtensionFunctionType == true) { firstArgIsExtensionReceiver = true }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 73K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
*/ private val FirResolvedTypeRef.correspondingTypePsi: KtUserType? get() { val sourcePsi = when { // array type for vararg parameters is not present in the code, so no need to handle it delegatedTypeRef?.source?.kind == KtFakeSourceElementKind.ArrayTypeFromVarargParameter -> null // but the array's underlying type is present with a fake source, and needs to be handled
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 16:54:07 UTC 2024 - 69.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt
* or `Nothing` types (depending on the typing position). This can produce a lot of typing relationships which do not make any sense, * such as `Int = UnresolvedClass`. * 2. It forces the user to handle error types explicitly, which reduces the risk of false positives. * 3. It is consistent with most of the behavior of the Kotlin compiler. */ STRICT, /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
return kotlinType.toKtType(analysisContext) } override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KaType { // Handle callable declarations with explicit return type first if (declaration is KtCallableDeclaration) { val typeReference = declaration.typeReference if (typeReference != null) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 15.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt
override val token: KaLifetimeToken, ) : KaSmartCastProvider(), KaFirSessionComponent { private val KtExpression.isExplicitSmartCastInfoTarget: Boolean get() { // we want to handle only most top-level parenthesised expressions if (parent is KtParenthesizedExpression) return false // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 6K bytes - Viewed (0)