Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for substitution (0.24 sec)

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

                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
                // Return `null` means we will use [fir.resolve.substitution.Substitutors]'s [substituteRecursive]
                // that literally substitutes type arguments recursively.
                return null
            }
    
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.TYPE_PARAMETER_AS_REIFIED,
                Errors.DEFINITELY_NON_NULLABLE_AS_REIFIED,
                Errors.REIFIED_TYPE_FORBIDDEN_SUBSTITUTION,
                Errors.REIFIED_TYPE_UNSAFE_SUBSTITUTION,
                Errors.CANDIDATE_CHOSEN_USING_OVERLOAD_RESOLUTION_BY_LAMBDA_ANNOTATION,
                Errors.RESOLUTION_TO_CLASSIFIER,
                Errors.RESERVED_SYNTAX_IN_CALLABLE_REFERENCE_LHS,
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
            }
        }
    }
    
    /**
     * Use-site substitution override are tracked through [CallableDescriptor.getOriginal]. Note that overridden symbols are accessed through
     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
     */
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            var isImplicitInvoke = false
    
            // TODO: Ideally, we should get the substitutor from the candidate. But it seems there is no way to get the substitutor from the
            //  candidate, `Candidate.substitutor` is not complete. maybe we can carry over the final substitutor if it's available from
            //  body resolve phase?
            val substitutor = when (fir) {
    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/diagnostics/KtFirDataClassConverters.kt

                firSymbolBuilder.classifierBuilder.buildTypeParameterSymbol(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.REIFIED_TYPE_FORBIDDEN_SUBSTITUTION) { firDiagnostic ->
            ReifiedTypeForbiddenSubstitutionImpl(
                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
    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)
  6. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field xdoc.separator="blank">
              <name>properties</name>
              <version>4.0.0+</version>
              <description>
                Properties that can be used throughout the POM as a substitution, and
                are used as filters in resources if enabled.
                The format is {@code &lt;name>value&lt;/name>}.
              </description>
              <type>Properties</type>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  7. doc/go_spec.html

    <p>
    A generic function or type is <i>instantiated</i> by substituting <i>type arguments</i>
    for the type parameters [<a href="#Go_1.18">Go 1.18</a>].
    Instantiation proceeds in two steps:
    </p>
    
    <ol>
    <li>
    Each type argument is substituted for its corresponding type parameter in the generic
    declaration.
    This substitution happens across the entire function or type declaration,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt

        override fun substitute(substitutor: KtSubstitutor): KtVariableLikeSignature<S> = withValidityAssertion {
            KtFe10VariableLikeSignature(
                symbol,
                substitutor.substitute(returnType),
                receiverType?.let { substitutor.substitute(it) },
            )
        }
    
        override fun equals(other: Any?): Boolean {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10FunctionLikeSignature.kt

        override fun substitute(substitutor: KtSubstitutor): KtFunctionLikeSignature<S> = withValidityAssertion {
            KtFe10FunctionLikeSignature(
                symbol,
                substitutor.substitute(returnType),
                receiverType?.let { substitutor.substitute(it) },
                valueParameters.map { valueParameter ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

                        return ApplicableAsFunctionalVariableCall(substitutor, receiverCastRequired, token)
                    }
    
                    return ApplicableAsExtensionCallable(substitutor, receiverCastRequired, token)
                }
    
                return implicitReceivers.firstNotNullOfOrNull(::processReceiver)
                    ?: processReceiver(null)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top