Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Center (0.17 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

            get() = withValidityAssertion { psi.isVar }
    
        override val getter: KtPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = psi.getter ?: return KtFe10PsiDefaultPropertyGetterSymbol(psi, analysisContext)
                return KtFe10PsiPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KtPropertySetterSymbol?
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * of the [classShortenStrategy] and [callableShortenStrategy] filters,
         * but ATM we don't have a way to properly handle
         * [FirThisReference]s through the existing filters.
         *
         * We need a better way to decide shortening strategy
         * for labeled and regular `this` expressions (KT-63555).
         */
        private fun thisLabelShortenStrategy(thisReference: FirThisReference): ShortenStrategy {
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // is different from the return type of the constructor.
                //
                // TODO: This seems a little indirect. Is there a better way to do this? For FE1.0 there is
                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescKotlinPropertySymbol.kt

            }
    
        override val getter: KtPropertyGetterSymbol?
            get() = withValidityAssertion {
                if (descriptor.isDynamic()) return null
                val getter = descriptor.getter ?: return KtFe10DescDefaultPropertyGetterSymbol(descriptor, analysisContext)
                return KtFe10DescPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KtPropertySetterSymbol?
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { descriptor.setter != null }
    
        override val setter: KtPropertySetterSymbol?
            get() = withValidityAssertion {
                if (!descriptor.isVar) {
                    return null
                }
    
                val setter = descriptor.setter ?: return KtFe10DescDefaultPropertySetterSymbol(descriptor, analysisContext)
                KtFe10DescPropertySetterSymbol(setter, analysisContext)
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call.
             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            /**
             * Not all expressions appear in the [ControlFlowGraph].
             * Still, if we find at least some of them, it's very unlikely that we will ever find a better graph.
             */
            val firCandidates = buildSet {
                fun addCandidate(firCandidate: FirElement) {
                    add(firCandidate)
    
                    if (firCandidate is FirBlock) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirJsErrors.NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE) { firDiagnostic ->
            NativeGetterReturnTypeShouldBeNullableImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirJsErrors.NATIVE_SETTER_WRONG_RETURN_TYPE) { firDiagnostic ->
            NativeSetterWrongReturnTypeImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val (firParameterForExpression, substitutedType) =
                argumentsToParameters.entries.firstOrNull { (arg, _) ->
                    when (arg) {
                        // TODO: better to utilize. See `createArgumentMapping` in [KtFirCallResolver]
                        is FirNamedArgumentExpression, is FirSpreadArgumentExpression ->
                            arg.psi == argumentExpression.parent
    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)
Back to top