Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for type (0.12 sec)

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

        }
    }
    
    /**
     *  The left hand side of a `::` is regarded as used unless it refers to a type.
     *  We decide that the LHS is a type reference by checking if the left hand
     *  side is a (qualified) name, and, in case it _is_, resolving that name.
     *
     *  If it resolves to a non-class declaration, it does _not_ refer to a type.
     */
    private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. 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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            // Note that the resolved type for the const expression is not always matched with the const kind. For example,
            //   fun foo(x: Int) {
            //     when (x) {
            //       -2_147_483_628 -> ...
            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            psiElements.firstIsInstanceOrNull<PsiField>()?.let {
                                bindings.put(FIELD_FOR_PROPERTY, fir, Type.getType(getBinaryPresentationWithCorrection(it.type)) to it.name)
                            }
                        }
                        fir.getter?.let { getter ->
                            methods.singleOrNull { it.returnType != PsiType.VOID }?.let {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. 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)
  8. .idea/runConfigurations/Generate_SwiftIR_tree.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Generate SwiftIR tree" type="GradleRunConfiguration" factoryName="Gradle" folderName="Generators">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$/native/swift/sir" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 08 10:09:09 GMT 2023
    - 1006 bytes
    - Viewed (0)
  9. .idea/runConfigurations/Analysis_API_FE1_0_Tests.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Analysis API FE1.0 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)
  10. 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)
Back to top