From 8220cff5f332ae5dd8116e3895e71dd81027c076 Mon Sep 17 00:00:00 2001 From: anna-skrodzka Date: Fri, 25 Oct 2024 01:24:11 +0200 Subject: [PATCH] Printer.scala added --- scala/workers/zinc/compile/test/Printer.scala | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scala/workers/zinc/compile/test/Printer.scala diff --git a/scala/workers/zinc/compile/test/Printer.scala b/scala/workers/zinc/compile/test/Printer.scala new file mode 100644 index 00000000..1649f35e --- /dev/null +++ b/scala/workers/zinc/compile/test/Printer.scala @@ -0,0 +1,19 @@ +package munit.diff + +trait Printer { + def print(value: _root_.scala.Any, out: _root_.scala.StringBuilder, indent: _root_.scala.Int): _root_.scala.Boolean + + def height: _root_.scala.Int + + def isMultiline(string: _root_.scala.Predef.String): _root_.scala.Boolean + + def orElse(other: _root_.munit.diff.Printer): _root_.munit.diff.Printer +} + +object Printer { + val defaultHeight: _root_.scala.Int = ??? + + def apply(height: _root_.scala.Int)(partialPrint: _root_.scala.PartialFunction[_root_.scala.Any, _root_.scala.Predef.String]): _root_.munit.diff.Printer = ??? + + def apply(partialPrint: _root_.scala.PartialFunction[_root_.scala.Any, _root_.scala.Predef.String]): _root_.munit.diff.Printer = ??? +} \ No newline at end of file