Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for samples (0.39 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                else -> error("Unexpected ${this::class}")
            }
    
        /**
         * Checks whether type reference of [this] type is considered to be in the [selection] text range.
         *
         * Examples of calls:
         *
         * - `|foo.Bar<...>|` - true
         * - `foo.|Bar|<...>` - true
         * - `foo.|B|ar<...>` - true
         * - `|foo|.Bar<...>` - false
         * - `foo.Bar|<...>|` - false
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                //   operator fun Int.invoke(b: Boolean) {}
                //   <expr>x()</expr>
                // }
                // ```
                // The candidates for the call will both be `invoke`. We can keep it simple by getting the name from the callee reference's PSI
                // element (`x` in the above example) if possible.
                return when (val psi = psi) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
Back to top