Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for type (0.13 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            if (actualReceiverType is KtTypeParameterType) return false
    
            if (type is KtTypeParameterType) {
                return type.symbol.upperBounds.all { isPossiblySuperTypeOf(it, actualReceiverType) }
            }
    
            val receiverExpanded = actualReceiverType.expandedClassSymbol
            val expectedExpanded = type.expandedClassSymbol
    
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

            return KtCompositeScope.create(subScopes, token)
        }
    
        override fun getTypeScope(type: KtType): KtTypeScope {
            require(type is KtFe10Type)
            TODO()
        }
    
        override fun getSyntheticJavaPropertiesScope(type: KtType): KtTypeScope {
            require(type is KtFe10Type)
            TODO()
        }
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. .space/CODEOWNERS

    /compiler/testData/serialization/klib/ "Kotlin Common Backend"
    /compiler/testData/type/ "Kotlin Compiler Core"
    /compiler/testData/typeQualifierNickname/ "Kotlin Compiler Core"
    /compiler/testData/versionRequirement/ "Kotlin JVM"
    /compiler/testData/writeFlags/ "Kotlin JVM"
    /compiler/testData/writeSignature/ "Kotlin JVM"
    /compiler/testData/type-checker-test.kt "Kotlin Compiler Core"
    /compiler/testData/type-substitutor.kt "Kotlin Compiler Core"
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

        }
    
        override fun getTypeScope(type: KtType): KtTypeScope? {
            check(type is KtFirType) { "KtFirScopeProvider can only work with KtFirType, but ${type::class} was provided" }
            return getFirTypeScope(type)
                ?.withSyntheticPropertiesScopeOrSelf(type.coneType)
                ?.let { convertToKtTypeScope(it) }
        }
    
        override fun getSyntheticJavaPropertiesScope(type: KtType): KtTypeScope? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    }
    
                    if (firSymbol.origin == FirDeclarationOrigin.DynamicScope) {
                        // A callable declaration from dynamic scope has no containing declaration as it comes from a dynamic type
                        // which is not based on a specific classifier
                        return null
                    }
                }
    
                is KtClassLikeSymbol -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            val owner = descriptor.owner
    
            if (descriptor is IrBasedReceiverParameterDescriptor && owner is IrValueParameter) {
                val receiverClass = (owner.type as? IrSimpleType)?.classifier as? IrClassSymbol
                val receiverClassId = receiverClass?.owner?.classId
    
                if (receiverClassId != null) {
                    if (owner.index >= 0) {
    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)
  9. 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)
  10. 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)
Back to top