Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for parameter (0.15 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10TypeParameterType.kt

        override val fe10Type: SimpleType,
        private val parameter: TypeParameterDescriptor,
        override val analysisContext: Fe10AnalysisContext
    ) : KtTypeParameterType(), KtFe10Type {
        override fun asStringForDebugging(): String = withValidityAssertion { fe10Type.asStringForDebugging(analysisContext) }
    
        override val name: Name
            get() = withValidityAssertion { parameter.name }
    
        override val nullability: KtTypeNullability
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jan 12 10:48:21 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

                }
            }
            val kotlinType = descriptor?.defaultType
                ?: ErrorUtils.createErrorType(ErrorTypeKind.NOT_FOUND_DESCRIPTOR_FOR_TYPE_PARAMETER, builder.toString())
            return kotlinType.toKtType(analysisContext) as KtTypeParameterType
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Jan 10 12:54:17 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

    internal class KtFe10DescDefaultPropertySetterSymbol(
        private val propertyDescriptor: PropertyDescriptor,
        override val analysisContext: Fe10AnalysisContext
    ) : KtPropertySetterSymbol(), KtFe10Symbol {
        override val parameter: KtValueParameterSymbol by cached {
            DefaultKtValueParameterSymbol(propertyDescriptor, analysisContext)
        }
    
        override val isDefault: Boolean
            get() = withValidityAssertion { true }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiTypeParameterSymbol.kt

        override val descriptor: TypeParameterDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi)
            bindingContext[BindingContext.TYPE_PARAMETER, psi]
        }
    
        override val variance: Variance
            get() = withValidityAssertion { psi.variance }
    
        override val upperBounds: List<KtType>
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    internal class UsageIsNotInlinableImpl(
        override val parameter: KtSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<KtElement>(firDiagnostic, token), KtFirDiagnostic.UsageIsNotInlinable
    
    internal class NonLocalReturnNotAllowedImpl(
        override val parameter: KtSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            get() = this.containingClassLookupTag()?.classId
    
        /**
         * Returns true if the class symbol has a type parameter that is supposed to be provided for its parent class.
         *
         * Example:
         * class Outer<T> {
         *   inner class Inner // Inner has an implicit type parameter `T`.
         * }
         */
    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/diagnostics/KtCompilerPluginDiagnosticImpl.kt

        token: KtLifetimeToken,
        override val parameter1: Any?,
        override val parameter2: Any?,
        override val parameter3: Any?
    ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtCompilerPluginDiagnostic3
    
    internal class KtCompilerPluginDiagnostic4Impl(
        firDiagnostic: KtPsiDiagnosticWithParameters4<*, *, *, *>,
        token: KtLifetimeToken,
        override val parameter1: Any?,
        override val parameter2: Any?,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue May 23 19:24:02 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

        }
    
        private fun writeGenericArguments(
            sw: JvmSignatureWriter,
            arguments: List<TypeProjection>,
            parameters: List<TypeParameterDescriptor>,
            mode: TypeMappingMode
        ) {
            with(KotlinTypeMapper) {
                typeContext.writeGenericArguments(sw, arguments, parameters, mode) { type, sw, mode ->
                    mapType(type as KotlinType, mode, sw)
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
            // Manually handle custom setter parameter
            if (declaration is KtParameter) {
                val parameterList = declaration.parent as? KtParameterList
                if (parameterList?.parameters?.singleOrNull() == declaration) {
                    val propertyAccessor = parameterList.parent as? KtPropertyAccessor
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
Back to top