Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for type (0.14 sec)

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

                KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE
                KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
                KtTypeMappingMode.RETURN_TYPE_BOXED -> TypeMappingMode.RETURN_TYPE_BOXED
                KtTypeMappingMode.RETURN_TYPE -> {
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isInt -> KtConstantValue.KtIntConstantValue((value as Number).toInt(), expression)
                type.isUInt -> KtConstantValue.KtUnsignedIntConstantValue((value as Number).toInt().toUInt(), expression)
                type.isLong -> KtConstantValue.KtLongConstantValue((value as Number).toLong(), expression)
                type.isULong -> KtConstantValue.KtUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                        // type ref with delegated type ref with such source kind is NOT directly present in the source, so we ignore it
                        !isArrayFromVararg
                    }
    
                    // type ref with such source kind is explicitly present in the source, so we want to see it
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            for ((parameter, type) in typeArguments) {
                val ktParameter = typeParameters.getOrNull(parameter.index) ?: return emptyMap()
    
                // i.e. we were not able to infer some types
                if (type.contains { it: UnwrappedType -> it.constructor is TypeVariableTypeConstructor }) return emptyMap()
    
                result[ktParameter] = type.toKtType(analysisContext)
            }
    
    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)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiValueParameterSymbol.kt

            get() = withValidityAssertion { false }
    
        override val returnType: KtType
            get() = withValidityAssertion {
                val type = (descriptor as? ValueParameterDescriptor)?.varargElementType ?: descriptor?.type
                return type?.toKtType(analysisContext) ?: createErrorType()
            }
    
        override val name: Name
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

    import org.jetbrains.kotlin.analysis.api.symbols.KtClassLikeSymbol
    import org.jetbrains.kotlin.analysis.api.types.KtClassTypeQualifier
    import org.jetbrains.kotlin.analysis.api.types.KtFunctionalType
    import org.jetbrains.kotlin.analysis.api.types.KtType
    import org.jetbrains.kotlin.analysis.api.types.KtTypeNullability
    import org.jetbrains.kotlin.builtins.*
    import org.jetbrains.kotlin.builtins.functions.FunctionClassDescriptor
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.checker.NewCapturedType
    import org.jetbrains.kotlin.types.checker.NewTypeVariableConstructor
    import org.jetbrains.kotlin.types.checker.SimpleClassicTypeSystemContext.eraseContainingTypeParameters
    import org.jetbrains.kotlin.types.error.ErrorType
    import org.jetbrains.kotlin.types.error.ErrorTypeKind
    import org.jetbrains.kotlin.types.error.ErrorUtils
    
    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)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbolForOverride.kt

        override val callableIdIfNonLocal: CallableId?
            get() = withValidityAssertion { descriptor.callableIdIfNotLocal }
    
        override val returnType: KtType
            get() = withValidityAssertion { descriptor.type.toKtType(analysisContext) }
    
        override val receiverParameter: KtReceiverParameterSymbol?
            get() = withValidityAssertion { descriptor.extensionReceiverParameter?.toKtReceiverParameterSymbol(analysisContext) }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10ReceiverParameterSymbol.kt

    import org.jetbrains.kotlin.analysis.api.types.KtType
    import org.jetbrains.kotlin.descriptors.ReceiverParameterDescriptor
    
    class KtFe10ReceiverParameterSymbol(
        override val descriptor: ReceiverParameterDescriptor,
        override val analysisContext: Fe10AnalysisContext,
    ) : KtReceiverParameterSymbol(), KtFe10DescSymbol<ReceiverParameterDescriptor> {
    
        override val type: KtType
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.checker.NewCapturedType
    import org.jetbrains.kotlin.types.checker.NewTypeVariableConstructor
    import org.jetbrains.kotlin.types.error.ErrorType
    import org.jetbrains.kotlin.types.typeUtil.builtIns
    
    internal class KtFe10DebugTypeRenderer {
        private companion object {
            const val ERROR_TYPE_TEXT = "ERROR_TYPE"
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top