Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for coll (0.24 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

         * Returns true if the [candidate] is in the final set of candidates that the call is actually resolved to. There can be multiple
         * candidates if the call is ambiguous.
         */
        public val isInBestCandidates: Boolean by validityAsserted(isInBestCandidates)
    }
    
    public typealias KtCallCandidateInfo = KaCallCandidateInfo
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.ir.txt

            EXPRESSION_BODY
              BLOCK type=kotlin.Int origin=null
                CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS
                  $this: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/languageConstructs/trailingSemicolon.kt

    fun test() {
        <expr>call(1);</expr>
        call(2)
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 79 bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test(x: Int) {
        fun call() {
            consume(x)
        }
    
        <caret_context>call()
    }
    
    fun consume(n: Int) {}
    
    
    // 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
    - 290 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt

    // FILE: context.kt
    class Foo {
        fun test() {
            fun call() {
                consume(this@Foo)
            }
    
            <caret_context>call()
        }
    }
    
    fun consume(obj: Foo) {}
    
    
    // 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
    - 331 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsageSource.ir.txt

              p0: CALL 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1' type=kotlin.Int origin=INVOKE
                $this: GET_VAR 'block: kotlin.Function1<kotlin.Int, kotlin.Int> declared in <root>.call' type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=VARIABLE_AS_FUNCTION
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 30 10:27:47 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.kt

    // MODULE: context
    
    // FILE: context.kt
    class Foo {
        fun String.test() {
            var x: Int
    
            fun call(a: Int) {
                consume(a)
                consume(this@Foo)
                consume(this@test)
                x = 42
            }
    
            <caret_context>call(1)
        }
    }
    
    fun consume(obj: Any) {}
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 439 bytes
    - Viewed (0)
  10. 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)
Back to top