Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.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.intersectWrappedTypes
    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: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            }
    
            fun unwrapType(type: PsiElement?): KtTypeElement = when (type) {
                is KtTypeReference -> unwrapType(type.typeElement)
                is KtNullableType -> type.innerType
                is KtTypeElement -> type
                is KtNameReferenceExpression -> unwrapType(type.parent)
                else -> unexpectedElementError<PsiElement>(type)
            } ?: unexpectedElementError<PsiElement>(type)
    
    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)
  3. .idea/runConfigurations/Analysis_API_FIR_Tests.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Analysis API FIR Tests" type="GradleRunConfiguration" factoryName="Gradle" folderName="Analysis">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
          <option name="taskDescriptions">
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Jan 03 13:39:42 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. .idea/runConfigurations/Low_Level_API_FIR_Lincheck_Tests.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Low Level API FIR Lincheck Tests" type="GradleRunConfiguration" factoryName="Gradle" folderName="Analysis">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Mar 01 17:29:07 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                KtTypeMappingMode.RETURN_TYPE_BOXED -> TypeMappingMode.RETURN_TYPE_BOXED
                KtTypeMappingMode.RETURN_TYPE ->
                    typeMapper.typeContext.getOptimalModeForReturnType(type.fe10Type, isAnnotationMethod)
                KtTypeMappingMode.VALUE_PARAMETER ->
                    typeMapper.typeContext.getOptimalModeForValueParameter(type.fe10Type)
            }.let { typeMappingMode ->
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            else -> null
        }
    
        /**
         * It only makes sense to provide type for the references which reference some actual properties/variables.
         *
         * In cases when the name reference references a function (a REAL function, not a functional type variable), it does not
         * make sense to provide any type for it.
         *
         * ---
         *
    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)
  9. 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)
  10. 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)
Back to top