- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for parameters (0.81 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/FirCallableSignature.kt
} if (declaration is FirFunction) { requireNotNull(parameters) for ((index, parameter) in declaration.valueParameters.withIndex()) { if (parameters[index] != parameter.returnTypeRef.renderType()) return false } } return returnType == declaration.symbol.resolvedReturnTypeRef.renderType() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 16:54:06 UTC 2024 - 5.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt
/** * A candidate that is applicable for a call. A candidate is applicable if the call's arguments are complete and are assignable to the * candidate's parameters, AND the call's type arguments are complete and fit all the constraints of the candidate's type parameters. */ public class KaApplicableCallCandidateInfo( candidate: KaCall, isInBestCandidates: Boolean, ) : KaCallCandidateInfo(candidate, isInBestCandidates)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtSubstitutor.kt
/** * substitutes type parameters in a given type corresponding to internal mapping rules. * * @return substituted type if there was at least one substitution, [type] itself if there was no type parameter to substitute */ public fun substitute(type: KaType): KaType = withValidityAssertion { substituteOrNull(type) ?: type } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt
} val substitutions = LinkedHashMap<TypeConstructor, TypeProjection>(parameters.size) for (index in parameters.indices) { val parameterTypeConstructor = parameters[index].typeConstructor substitutions[parameterTypeConstructor] = TypeProjectionImpl(arguments[index] as KotlinType) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.6K bytes - Viewed (0) -
maven-core/lifecycle-executor.txt
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jul 18 17:22:19 UTC 2022 - 9.7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/lifetime/KtLifetimeOwner.kt
} public inline fun <R> KaLifetimeOwner.withValidityAssertion(action: () -> R): R { assertIsValidAndAccessible() return action() } /** * This is a helper function to properly expose parameters in some [KaLifetimeOwner] implementation. * * An example: * ```kotlin * public class KaCall(symbol: KaSymbol) : KaLifetimeTokenOwner { * public val symbol: KaSymbol by validityAsserted(symbol) * } * ```
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.2K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/KtDiagnosticClassRenderer.kt
} } private fun SmartPrinter.printDiagnosticParameters(diagnostic: HLDiagnostic, diagnosticList: HLDiagnosticList) { diagnostic.parameters.forEach { parameter -> print("val ${parameter.name}: ") printTypeWithShortNames(parameter.type) { type -> diagnosticList.containsClashingBySimpleNameType(type) } println() } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt
} private fun writeGenericArguments( sw: JvmSignatureWriter, arguments: List<TypeProjection>, parameters: List<TypeParameterDescriptor>, mode: TypeMappingMode ) { with(KotlinTypeMapper) { typeContext.writeGenericArguments(sw, arguments, parameters, mode) { type, sw, mode -> mapType(type as KotlinType, mode, sw) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 8.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionTypeProvider.kt
/** * Returns the functional type of the given [KtFunction]. * * For a regular function, it would be kotlin.FunctionN<Ps, R> where * N is the number of value parameters in the function; * Ps are types of value parameters; * R is the return type of the function. * Depending on the function's attributes, such as `suspend` or reflective access, different functional type,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/KtDiagnosticClassImplementationRenderer.kt
for (parameter in diagnostic.parameters) { printParameter(parameter, diagnosticList) } println("firDiagnostic: KtPsiDiagnostic,") println("token: KaLifetimeToken,") } private fun SmartPrinter.printParameter(parameter: HLDiagnosticParameter, diagnosticList: HLDiagnosticList) { print("override val ${parameter.name}: ")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.8K bytes - Viewed (0)