- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 153 for coll (0.35 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt
import org.jetbrains.kotlin.analysis.api.symbols.KaSymbol import org.jetbrains.kotlin.analysis.api.types.KaType import org.jetbrains.kotlin.psi.KtExpression /** * A receiver value of a call. */ public sealed class KaReceiverValue : KaLifetimeOwner { /** * Returns inferred [KaType] of the receiver. * * In case of smart cast on the receiver returns smart cast type. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
* `MutableCollection<String>`. * * Note that for flexible types, both direct super types of the upper and lower bounds are returned. If that's not desirable, please * first call [KaFlexibleType.upperBound] or [KaFlexibleType.lowerBound] and then call this method. * * @param shouldApproximate whether to approximate non-denotable types. For example, super type of `List<out String>` is
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt
* is (FirCheckedSafeCallSubject)[org.jetbrains.kotlin.fir.expressions.FirCheckedSafeCallSubject] which requires additional unwrapping * to be used for call resolution. */ private fun findReceiverFirExpression(receiverExpression: KtExpression): FirExpression? { if (receiverExpression is KtStatementExpression) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 9.3K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt
fun test(foo: Foo) { <caret_context>foo.call() } expect class Foo { fun call() } // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: common // FILE: fragment.kt // CODE_FRAGMENT_KIND: EXPRESSION foo.call() // MODULE: jvm()()(common) // TARGET_PLATFORM: JVM // FILE: Jvm.kt package test actual class Foo { fun call() {}
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue May 07 15:47:11 UTC 2024 - 468 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.ir.txt
BLOCK_BODY CALL 'public final fun consume (n: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null n: GET_VAR 'val x: kotlin.Int [val] declared in <root>.test' type=kotlin.Int origin=null CALL 'local final fun call (): kotlin.Unit declared in <root>.test' type=kotlin.Unit origin=null FILE fqName:<root> fileName:fragment.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 1.6K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.ir.txt
EXPRESSION_BODY BLOCK type=kotlin.Unit origin=null CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.forEach, kotlin.Unit>): kotlin.Unit [inline] declared in kotlin.collections' type=kotlin.Unit origin=null <T>: kotlin.Int
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Apr 30 10:27:47 UTC 2024 - 4.9K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.ir.txt
BLOCK_BODY SET_VAR 'var x: kotlin.Int [var] declared in <root>.test' type=kotlin.Unit origin=EQ CONST Int type=kotlin.Int value=1 CALL 'local final fun call (): kotlin.Unit declared in <root>.test' type=kotlin.Unit origin=null FILE fqName:<root> fileName:fragment.kt CLASS CLASS name:CodeFragment modality:FINAL visibility:public superTypes:[kotlin.Any]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 1.3K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.kt
// MODULE: context // FILE: context.kt fun test() { var x = 0 fun call() { x = 1 } <caret_context>call() } // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: context // FILE: fragment.kt // CODE_FRAGMENT_KIND: EXPRESSION
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 270 bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolver/AbstractResolveCallTest.kt
override val resolveKind: String get() = "call" override fun generateResolveOutput(mainElement: KtElement, testServices: TestServices): String = analyseForTest(mainElement) { val call = mainElement.resolveCallOld() val secondCall = mainElement.resolveCallOld() ignoreStabilityIfNeeded(testServices.moduleStructure.allDirectives) { assertStableResult(testServices, call, secondCall) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 19:03:00 UTC 2024 - 1.2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.kt
fun test() { block("foo") { foo -> fun call() { consume(foo) } <caret_context>call() } } fun <T> block(obj: T, block: (T) -> Unit) { block(obj) } fun consume(text: String) {} // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: context // FILE: fragment.kt // CODE_FRAGMENT_KIND: EXPRESSION
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 402 bytes - Viewed (0)