Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for example (0.22 sec)

  1. .space/CODEOWNERS

    /kotlin-native/performance "Kotlin Native" "Kotlin Performance QA"
    
    /libraries/examples/annotation-processor-example/ "Kotlin Compiler Core"
    /libraries/examples/kotlin-gradle-subplugin-example/ "Kotlin Compiler Core"
    /libraries/examples/kotlin-java-example/ "Kotlin JVM"
    /libraries/examples/scripting/ "Kotlin Compiler Core"
    /libraries/kotlin.test/ A.Qurbonzoda Vsevolod.Tolstopyato Ilya.Gorbunov Filipp.Zhinkin
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
         * For example, `foo.Foo.bar` may only refer to the extension callable `bar` with
         * a `foo.Foo` receiver type, and this function will only look for such combinations.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         * interface List<A> { fun get(i: Int): A }
         *
         * fun take(list: List<String>) {
         *   list.get(10) // this call
         * }
         * ```
         *
         * In FIR, `List::get` symbol in the example will be a substitution override with a `String` instead of `A`.
         * We want to lift such substitution overrides.
         *
         * @receiver A declaration that needs to be unwrapped.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            val expectedKind = expectedType.toConstantValueKind()
            // Note that the resolved type for the const expression is not always matched with the const kind. For example,
            //   fun foo(x: Int) {
            //     when (x) {
            //       -2_147_483_628 -> ...
            //   } }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

                substitutedType.varargElementType().asKtType()
            else
                substitutedType.asKtType()
        }
    
        /**
         * Expected type of the indexing parameter in array access, for example, in the following code:
         * ```
         * val map = mapOf<Int, String>()
         * map[k] = v
         * ```
         * `k` is indexing parameter and its expected type is `Int`.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                                psi is KtCallElement && reportedPsi.parentsWithSelf.any { it == psi.calleeExpression }) -> true
                // Errors reported on the value argument list or the right most parentheses (not enough argument, for example)
                isResolutionError &&
                        reportedPsi is KtValueArgumentList || reportedPsiParent is KtValueArgumentList && reportedPsi == reportedPsiParent.rightParenthesis -> true
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

            else -> false
        }
    
    
    /**
     * Returns `true` if [this] expression is fully-qualified with package name.
     * Such expressions definitely do not need any kind of imports.
     *
     * Examples:
     * - `pkg.foo()` - `true`
     * - `foo()` - `false`
     * - `Obj.foo()` - `false`
     * - `pkg.Obj.foo()` - `false`
     */
    private val FirQualifiedAccessExpression.isQualifiedWithPackage: Boolean
        get() {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
Back to top