- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 783 for THE (0.03 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt
/** * A candidate that is applicable for a call. A candidate is applicable if the call's arguments are complete and are assignable to the * candidate's parameters, AND the call's type arguments are complete and fit all the constraints of the candidate's type parameters. */ public class KaApplicableCallCandidateInfo( candidate: KaCall, isInBestCandidates: Boolean, ) : KaCallCandidateInfo(candidate, isInBestCandidates)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/analyze.kt
} /** * Executes the given [action] in a [KaSession] context. * Depending on the passed [resolutionMode], declarations inside a file copy will be treated in a specific way. * * Note that the [useSiteKtElement] must be inside a dangling file copy. * Specifically, [PsiFile.getOriginalFile] must point to the copy source. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt
* of [modificationEventKind]. This allows [AbstractSessionInvalidationTest] to check all modification event kinds with the same original * test data. * * [AbstractSessionInvalidationTest] is a base class for invalidation tests of `KaSession` and `LLFirSession`, which share the test * data but not necessarily the result data (see also [resultFileSuffix]).
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 5.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
* climbing up the syntax tree, passing control back and forth between the * two. * * Whether an expression is used is defined by the context in which it * appears. E.g. a "statement" in a block is considered used if it is the * last expression in that block AND the block itself is used -- a * recursive call to `isUsed`, one level higher in the syntax tree. *
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/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt
withValidityAssertion { analysisSession.expressionInfoProvider.getReturnExpressionTargetSymbol(this) } /** * Returns cases missing from the branches of [KtWhenExpression]. * * The missing cases of the when-expression in the following example are Direction.WEST and Direction.EAST: * * enum class Direction { * NORTH, SOUTH, WEST, EAST * } * foo = when(direction) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt
* abbreviated type. * * The abbreviated type contains the type arguments of a specific type alias application. For example, if we have a * `typealias MyList<A> = List<A>`, for an application `MyList<String>`, `MyList<String>` would be the abbreviated type for such a type * alias application, not simply `MyList`.
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/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
withValidityAssertion { analysisSession.typeProvider.haveCommonSubtype(this, that) } /** * Gets all the implicit receiver types available at the given position. The type of the outermost receiver appears at the beginning * of the returned list. */ public fun getImplicitReceiverTypesAtPosition(position: KtElement): List<KaType> =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.4K bytes - Viewed (0) -
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/components/KaResolver.kt
* corresponding to this [KtElement]. * * [resolveCallOld] only returns the final result of overload resolution, i.e., the selected callable after considering candidate * applicability and choosing the most specific candidate. */ public fun KtElement.collectCallCandidatesOld(): List<KaCallCandidateInfo> = withValidityAssertion { analysisSession.resolver.collectCallCandidates(this) } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneFirDirectInheritorsProvider.kt
} // The index provides candidates from an original module, not dangling files. If we resolve the supertypes of a candidate in the // context of its session, we will resolve to FIR classes from non-dangling, original modules. If `ktClass` is inside a dangling // file, the FIR class for `ktClass` will come from the dangling module. So we'd compare the original FIR class for the supertype
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 6K bytes - Viewed (0)