- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for appendLines (0.14 sec)
-
src/go/printer/gobuild.go
var after []byte start := insert for _, end := range toDelete { if end < start { continue } after = appendLines(after, p.output[start:end]) start = end + len(p.lineAt(end)) } after = appendLines(after, p.output[start:]) if n := len(after); n >= 2 && isNL(after[n-1]) && isNL(after[n-2]) { after = after[:n-1] } p.output = p.output[:insert]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt
prettyPrint { appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}") appendLine("Symbol:") appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)) appendLine() appendLine("Substitutor:") appendLine(stringRepresentation(substitutor)) appendLine()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/importOptimizer/AbstractAnalysisApiImportOptimizerTest.kt
.mapValues { (_, importedNames) -> importedNames.sorted() } appendLine("USED DECLARATIONS:") for ((path, elements) in sortedUsedDeclarations) { appendLine() appendLine("Declaration: $path") appendLine("By names: $elements") } appendLine() val sortedUnresolvedNames = importsAnalysis.unresolvedNames.sorted()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Mar 27 16:04:54 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt
debugPrinter.appendLine(debugRenderer.render(analysisSession, symbol)) debugPrinter.appendLine() prettyPrinter.withIndents(indentCount = declaration.parentsOfType<KtDeclaration>(withSelf = false).count()) { prettyPrinter.appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt
appendLine("Expression: ${expression.text}") appendLine("${KaType::class.simpleName}: ${type.render(position = Variance.INVARIANT)}") appendLine() appendLine("${KaTypeScope::class.simpleName}:") appendLine(typeScope?.let { renderForTests(it) } ?: "NO_SCOPE") appendLine() appendLine("Declaration Scope:")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 5.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolInfoProvider/AbstractAnnotationApplicableTargetsTest.kt
buildString { appendLine("${KtAnnotationEntry::class.simpleName}: ${annotationEntry.text}") appendLine() appendLine("Resolved annotation symbol:") appendLine(annotationClassSymbol.render(KtDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)) appendLine() appendLine("Applicable targets: $applicableTargetsInOrder") }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTestUtil.kt
appendLine() visitValue(value, indent + 1) } if (documentNode.content.isNotEmpty()) { appendLine() documentNode.content.forEach { visitDocumentNode(it, indent + 1) } } else { appendLine() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt
recurseDeeper(it) appendLine() } appendIndented(")") } is ParsingError -> { appendIndented("ParsingError(") appendLine() appendNextIndented("message = ${current.message},") appendLine()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 10.2K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAnalysisApiSubstitutorsTest.kt
prettyPrint { appendLine("PSI type: ${declaration.typeReference?.text}") appendLine("${KaType::class.simpleName}: ${type.render(position = Variance.INVARIANT)}") appendLine("substitutor.substitute: ${substituted.render(position = Variance.INVARIANT)}") appendLine("substitutor.substituteOrNull: ${substitutedOrNull?.render(position = Variance.INVARIANT)}")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureSubstitutionTest.kt
prettyPrint { appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}") appendLine("Symbol:") appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)) appendLine() appendLine("Signature before substitution:") appendLine(stringRepresentation(signatureBeforeSubstitution))
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 2.6K bytes - Viewed (0)