kotlin-node/karakum/src/jsMain/kotlin/node/karakum/plugins/ContractFunctionApiPlugin.kt [78:100]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val body = convertParameterDeclarations( node, context, next, ParameterDeclarationsConfiguration( strategy = ParameterDeclarationStrategy.function, template = template@{ parameters, signature -> if (isConflictingOverload(node)) return@template "" val parameterNames = signature .withIndex() .mapNotNull { (index, it) -> nullable { val parameterName = it.parameter.name if (isIdentifier(parameterName)) { escapeIdentifier(next(parameterName)) } else { "param${index}" } } } .joinToString(", ") """ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin-typescript/karakum/src/jsMain/kotlin/typescript/karakum/plugins/ContractFunctionApiPlugin.kt [76:98]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val body = convertParameterDeclarations( node, context, next, ParameterDeclarationsConfiguration( strategy = ParameterDeclarationStrategy.function, template = template@{ parameters, signature -> if (isConflictingOverload(node)) return@template "" val parameterNames = signature .withIndex() .mapNotNull { (index, it) -> nullable { val parameterName = it.parameter.name if (isIdentifier(parameterName)) { escapeIdentifier(next(parameterName)) } else { "param${index}" } } } .joinToString(", ") """ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -