Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for argument (3.56 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-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

    internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> {
        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.ANNOTATION_ARGUMENT_KCLASS_LITERAL_OF_TYPE_PARAMETER_ERROR) { firDiagnostic ->
            AnnotationArgumentKclassLiteralOfTypeParameterErrorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ANNOTATION_ARGUMENT_MUST_BE_CONST) { firDiagnostic ->
            AnnotationArgumentMustBeConstImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         * Maps [typeArguments] to the type parameters of [partiallyAppliedSymbol].
         *
         * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the
         * case, the resulting [KtCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. 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)
  8. .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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                fakeFirQualifiedAccess = buildFunctionCall {
                    annotations.addAll(functionCall.annotations)
    
                    /**
                     * It is important to avoid passing type arguments when they are implicit type arguments.
                     * For example,
                     *   package a.b.c
                     *   fun <T, E> foo(a: T, b: E) {}      // A
                     *   fun test() {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

        return KtAnnotationApplicationWithArgumentsInfo(
            classId = toAnnotationClassId(builder.rootSession),
            psi = psi as? KtCallElement,
            useSiteTarget = useSiteTarget,
            arguments = arguments,
            index = index,
            constructorSymbolPointer = with(builder.analysisSession) { constructorSymbol?.createPointer() },
            token = builder.token,
        )
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top