Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for argument (0.19 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    print("<ERROR TYPE REF>")
                }
    
                printCollection(namedValues, separator = ", ", prefix = "(", postfix = ")") { argument ->
                    append(argument.name.render())
                    append(" = ")
                    renderConstantValueDebug(argument.expression, printer)
                }
            }
        }
    
        private fun renderConstantValueDebug(value: KtAnnotationValue, printer: PrettyPrinter) {
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            val ktExpression = expression.getParentOfType<KtExpression>(false) ?: return null
            val parentExpression = if (ktExpression.parent is KtLabeledExpression) {
                // lambda -> labeled expression -> lambda argument (value argument)
                ktExpression.parent.parent
            } else {
                ktExpression.parent
            }
    
            // Unwrap specific expressions
            when (ktExpression) {
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            return when (this) {
                KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT
                KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST
                KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT
                KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE
                KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                }
    
                is FirVarargArgumentsExpression -> {
                    // Vararg arguments may have multiple independent expressions associated.
                    // Choose one to be the representative PSI value for the entire assembled argument.
                    val (annotationValues, representativePsi) = arguments.convertVarargsExpression(builder)
    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)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            val result = LinkedHashMap<KtExpression, KtVariableLikeSignature<KtValueParameterSymbol>>()
            for ((parameter, arguments) in valueArguments) {
                val parameterSymbol = KtFe10DescValueParameterSymbol(parameter, analysisContext)
    
                for (argument in arguments.arguments) {
                    val expression = argument.getArgumentExpression() ?: continue
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                declarationDescriptor !in allowedTypeParameterDescriptors ||
                        declarationDescriptor.upperBounds.any { it.hasReferenceOtherThan(allowedTypeParameterDescriptors) }
            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
    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)
  7. .space/CODEOWNERS

    /compiler/builtins-serializer/ "Kotlin Compiler Core" Simon.Ogorodnik
    /compiler/cli/ "Kotlin Compiler Core" Simon.Ogorodnik
    /compiler/cli/cli-js/ "Kotlin Common Backend" "Kotlin Wasm"
    /compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2NativeCompilerArguments.kt "Kotlin Native"
    /compiler/compiler.version/ "Kotlin Compiler Core" Simon.Ogorodnik
    /compiler/compiler-runner/ "Kotlin Compiler Core" Simon.Ogorodnik
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            opr1.evaluate(function)?.let {
                return it.adjustType(functionCall.resolvedType)
            }
    
            val argument = functionCall.arguments.firstOrNull() ?: return null
            val opr2 = evaluate(argument, mode) ?: return null
            opr1.evaluate(function, opr2)?.let {
                return it.adjustType(functionCall.resolvedType)
            }
            return null
        }
    
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            expression: KtExpression,
            fir: FirFunctionCall,
        ): KtType? {
            // When we're in a call like `a[x] = y`, we want to get the `set` call's last argument's type.
            if (fir.calleeReference !is FirResolvedNamedReference || fir.calleeReference.name != OperatorNameConventions.SET) return null
            if (expression !is KtArrayAccessExpression) return null
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

    internal object FirReferenceResolveHelper {
        fun FirResolvedTypeRef.toTargetSymbol(session: FirSession, symbolBuilder: KtSymbolByFirBuilder): KtSymbol? {
            // When you call a method from Java with type arguments, in FIR they are currently represented as flexible types.
            // TODO Consider handling other non-ConeLookupTagBasedType types here (see KT-66418)
    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)
Back to top