Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for caret_context (0.74 sec)

  1. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClass.kt

    // MODULE: context
    
    // FILE: context.kt
    class Test {
        val a: String = "foo"
    
        fun test() {
            <caret_context>val x = 0
        }
    }
    
    
    // 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
    - 276 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyExplicit.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        1.ext
    }
    
    val Int.ext: String
        get() {
            <caret_context>return "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
    - 280 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByReference/codeFragmentFromInside.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        <caret_context>call("foo")
    }
    
    fun call(text: String) {}
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: BLOCK
    fun local() {
        call("bar")
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:20:29 UTC 2024
    - 285 bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/foreignValue.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        <caret_context>call("foo")
    }
    
    fun call(text: String) {}
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    // CODE_FRAGMENT_FOREIGN_VALUE: foo_DebugLabel(Ljava/lang/String;)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:20:29 UTC 2024
    - 331 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt

    // LANGUAGE: +MultiPlatformProjects
    
    // MODULE: common
    // TARGET_PLATFORM: Common
    
    // FILE: Common.kt
    package test
    
    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)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue May 07 15:47:11 UTC 2024
    - 468 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.kt

    // ATTACH_DUPLICATE_STDLIB
    
    // MODULE: context
    
    // FILE: context.kt
    fun test(text: String) {
        <caret_context>consume(text)
    }
    
    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
    - 328 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        with("Hello, world!") {
            with(Foo()) {
                <caret_context>val x = 0
            }
        }
    }
    
    class Foo {
        val foo: String = "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
    - 349 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiverExplicit.kt

    // LANGUAGE: +ContextReceivers
    
    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        with(Foo()) {
            call()
        }
    }
    
    context(Foo)
    fun call() {
        <caret_context>val x = 0
    }
    
    class Foo {
        val foo: String = "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
    - 369 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverExplicit.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        with("Hello, world!") {
            <caret_context>val x = 0
        }
    }
    
    
    // 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
    - 268 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/fragmentFunction.kt

    // MODULE: context
    
    // FILE: context.kt
    fun test() {
        <caret_context>val x = 0
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: BLOCK
    fun String.ext() = this + "EXT"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 253 bytes
    - Viewed (0)
Back to top