Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for prefix (0.33 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

                separator = ",\n  ",
                prefix = "{\n  ",
                postfix = "\n}"
            ) { (k, v) -> "${k?.let { stringRepresentation(it).indented() }} -> (${v?.let { stringRepresentation(it).indented() }})" }
            is Collection<*> -> if (isEmpty()) "[]" else joinToString(
                separator = ",\n  ",
                prefix = "[\n  ",
                postfix = "\n]"
            ) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtFunctionSymbolRenderer.kt

                        }
                    }
    
                    declarationRenderer.nameRenderer.renderName(analysisSession, symbol, declarationRenderer, printer)
    
                    printer.printCollection(symbol.valueParameters, prefix = "(", postfix = ")") {
                        declarationRenderer.typeRenderer.renderType(analysisSession, it.returnType, printer)
                    }
    
                    withPrefix(": ") {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    append("|")
                } else {
                    print("<ERROR TYPE REF>")
                }
    
                printCollection(namedValues, separator = ", ", prefix = "(", postfix = ")") { argument ->
                    append(argument.name.render())
                    append(" = ")
                    renderConstantValueDebug(argument.expression, printer)
                }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KtFunctionalTypeRenderer.kt

                                if (it is KaFunctionalType) printer.append(")")
                                printer.append('.')
                            }
                            printCollection(type.parameterTypes, prefix = "(", postfix = ")") {
                                typeRenderer.renderType(analysisSession, it, this)
                            }
                            append(" -> ")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KtFlexibleTypeRenderer.kt

                                { append(lower.classId.asFqNameString().replace("Mutable", "(Mutable)")) },
                            )
                            printCollectionIfNotEmpty(lower.typeArguments, prefix = "<", postfix = ">") { typeArgument ->
                                typeRenderer.typeProjectionRenderer.renderTypeProjection(analysisSession, typeArgument, typeRenderer, this)
                            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/KtTypeParametersRenderer.kt

                    .filter { declarationRenderer.typeParametersFilter.filter(analysisSession, it, symbol) }
                    .ifEmpty { return }
                printer.printCollection(typeParameters, prefix = "<", postfix = ">") { typeParameter ->
                    declarationRenderer.codeStyle.getSeparatorBetweenAnnotationAndOwner(analysisSession, typeParameter).separated(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinPlatformComponent.kt

     *
     * Platform component interfaces and their default implementations are always prefixed with the word `Kotlin`, in contrast to
     * [KaEngineService]s which are prefixed with `Ka`. It is recommended to keep this naming convention in platform implementations. For
     * example, the Standalone API uses a `KotlinStandalone` prefix for its own platform component implementations.
     */
    public interface KotlinPlatformComponent
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/KtCallableParameterRenderer.kt

            ) {
                val valueParameters = when (symbol) {
                    is KaFunctionLikeSymbol -> symbol.valueParameters
                    else -> return
                }
                printer.printCollection(valueParameters, prefix = "(", postfix = ")") {
                    declarationRenderer.renderDeclaration(analysisSession, it, printer)
                }
            }
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtDestructuringDeclarationRenderer.kt

                                }
                            }
                            printCollection(symbol.entries, prefix = "(", postfix = ")") {
                                with(rendererWithoutValVar) {
                                    renderDeclaration(analysisSession, it, this@printCollection)
                                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolInfoProvider/AbstractAnnotationApplicableTargetsTest.kt

                val applicableTargetsInOrder =
                    annotationClassSymbol.annotationApplicableTargets
                        ?.map { it.name }
                        ?.sorted()
                        ?.joinToString(prefix = "[", separator = ", ", postfix = "]")
                        ?: "<null>"
    
                buildString {
                    appendLine("${KtAnnotationEntry::class.simpleName}: ${annotationEntry.text}")
                    appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top