Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for The (0.27 sec)

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

         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

         *   "hello".<expr>action</expr>(10)
         * }
         * ```
         *
         * The user might want to know the type of the `action` callback. If we always return null for the named references,
         * we won't be able to handle this request, and just return null. So the user will only be able to see the type
         * of the whole expression instead, and that is not what he wants.
         */
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt

                // Session invalidation events currently don't report whether library modules were included in the global invalidation. This is
                // by design to avoid iterating through the whole analysis session cache and to simplify the global session invalidation event.
                // Nevertheless, a `KtFirAnalysisSession`'s validity is based on the underlying `LLFirSession`, so removed analysis sessions for
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 18 10:43:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

        /**
         * Type can be imported with alias, and thus can be referenced by the name different from its actual name.
         *
         * We cannot use [ClassId.getShortClassName] for this, since it is not affected by the alias.
         */
        val referencedByName: Name
    
        /**
         * Must be `true` if the PSI qualifier is itself qualified with the package or some other type, and `false` otherwise.
         *
         * ```
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            // 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 -> ...
            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
    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/KtFirVisibilityChecker.kt

         * thereby avoiding lazy construction of the FIR class. The visibility rules are tailored specifically for Java classes accessed from
         * Kotlin. They cover the most popular visibilities `private`, `public`, and default (package) visibility for top-level and nested
         * classes.
         *
         * Returns `null` if visibility cannot be decided by the heuristic.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jan 05 16:04:14 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    ?: error("allCandidates is null even when collectAllCandidates = true")
    
                candidates.flatMap { candidate ->
                    // The current BindingContext does not have the diagnostics for each individual candidate, only for the resolved call.
                    // If there are multiple candidates, we can get each one's diagnostics by reporting it to a new BindingTrace.
    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/KtFirMetadataCalculator.kt

            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
            // in Java sources as well, even though the parameters are there in the bytecode. Since metadata stores JVM signatures, we're
            // adding the name/ordinal parameters manually.
            append("Ljava/lang/String;")
            append("I")
        }
        for (param in method.parameterList.parameters) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        val context = (useSitePosition as? KtLightElement<*, *>)?.kotlinOrigin ?: useSitePosition
        // Local type is available if it's inside the same context (containing declaration)
        // or containing declaration is inside the local type, e.g., a member of the local class
        return localPsi == context ||
                localPsi.parents.any { it == context } ||
                context.parents.any { it == localPsi }
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/PublicApproximatorConfiguration.kt

    /*
     * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.descriptors.utils
    
    import org.jetbrains.kotlin.types.TypeApproximatorConfiguration
    
    @Suppress("SpellCheckingInspection")
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:58 GMT 2022
    - 823 bytes
    - Viewed (0)
Back to top