Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for parameters (0.22 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but
         * [KtNameReferenceExpression].
         */
        private val FirResolvedTypeRef.correspondingTypePsi: KtUserType?
            get() {
                val sourcePsi = when {
                    // array type for vararg parameters is not present in the code, so no need to handle it
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    internal class UsageIsNotInlinableImpl(
        override val parameter: KtSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<KtElement>(firDiagnostic, token), KtFirDiagnostic.UsageIsNotInlinable
    
    internal class NonLocalReturnNotAllowedImpl(
        override val parameter: KtSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

            )
        }
        add(FirErrors.INVALID_DEFAULT_FUNCTIONAL_PARAMETER_FOR_INLINE) { firDiagnostic ->
            InvalidDefaultFunctionalParameterForInlineImpl(
                firSymbolBuilder.buildSymbol(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.NOT_SUPPORTED_INLINE_PARAMETER_IN_INLINE_PARAMETER_DEFAULT_VALUE) { firDiagnostic ->
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                        is FirResolvedNamedReference -> when (calleeReference.resolvedSymbol) {
                            // `calleeReference.resolvedSymbol` isn't guaranteed to be callable. For example, function type parameters used in
                            // expression positions (e.g. `T` in `println(T)`) are parsed as `KtSimpleNameExpression` and built into
                            // `FirPropertyAccessExpression` (which is `FirResolvable`).
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = UsageIsNotInlinable::class
            val parameter: KtSymbol
        }
    
        interface NonLocalReturnNotAllowed : KtFirDiagnostic<KtElement> {
            override val diagnosticClass get() = NonLocalReturnNotAllowed::class
            val parameter: KtSymbol
        }
    
        interface NotYetSupportedInInline : KtFirDiagnostic<KtDeclaration> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 171.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                it.name
            }
            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)
Back to top