Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Reed (0.17 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                return KtCompilationResult.Failure(frontendErrors)
            }
    
            // The IR backend will try to regenerate object literals defined in inline functions from generated class files during inlining.
            // Hence, we need to be aware of which object declarations are defined in the relevant inline functions.
            val inlineObjectDeclarations = inlineAnalyzer.inlineObjectDeclarations()
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            val javaType = JavaTypeImpl.create(psiType, javaElementSourceFactory.createTypeSource(psiType))
    
            val javaTypeRef = buildJavaTypeRef {
                // Annotations are unused during `resolveIfJavaType`, so there is no need to provide something
                annotationBuilder = { emptyList() }
                type = javaType
            }
    
            val javaTypeParameterStack = MutableJavaTypeParameterStack()
    
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
            // After computing the compile time constant, we need to adjust its type here.
            val expression =
                if (expectedKind != null && expectedKind != kind && value is Number) {
                    val typeAdjustedValue = expectedKind.convertToNumber(value as Number)!!
    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)
  4. 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`
     */
    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/components/KtFirExpressionTypeProvider.kt

                // If `valueArg` is [KtLambdaArgument], its [getArgumentExpression] could be labeled expression (e.g., l@{ ... }).
                // That is not exactly `expr`, which would be [KtLambdaExpression]. So, we need [unwrap] here.
                valueArg.getArgumentExpression()?.unwrap() == expr
            } ?: return null
            val callExpression =
                (valueArgument.parent as? KtValueArgumentList)?.parent as? KtCallElement
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            ResolveResult(symbol = this, receiverClassReference)
    
        /**
         * Resolves the [selectedFqName] of KDoc
         *
         * To properly resolve qualifier parts in the middle,
         * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers.
         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         */
        private val FirResolvedTypeRef.correspondingTypePsi: KtUserType?
            get() {
                val sourcePsi = when {
                    // array type for vararg parameters is not present in the code, so no need to handle it
                    delegatedTypeRef?.source?.kind == KtFakeSourceElementKind.ArrayTypeFromVarargParameter -> null
    
                    // but the array's underlying type is present with a fake source, and needs to be handled
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            // If a function call is resolved to an implicit invoke call, the FirImplicitInvokeCall will have the `invoke()` function as the
            // callee and the variable as the explicit receiver. To correctly get all candidates, we need to get the original function
            // call's explicit receiver (if there is any) and callee (i.e., the variable).
            val unwrappedExplicitReceiver = explicitReceiver?.unwrapSmartcastExpression()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        implementation(project(":analysis:analysis-api"))
    
        implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
    
        /*
         We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore
         the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly
         */
        compileOnly(intellijCore())
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        ): Collection<KtSymbol> {
            if (expression != adjustedResolutionExpression) {
                // Type alias detection.
                //
                // If we adjusted resolution to get a constructor instead of a class, we need to undo that
                // if the class is defined as a type alias. We can detect that situation when the constructed type
                // is different from the return type of the constructor.
                //
    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)
Back to top