case class FunctionalPrinter(content: Vector[String] = Vector.empty, indentLevel: Int = 0) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FunctionalPrinter
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FunctionalPrinter(content: Vector[String] = Vector.empty, indentLevel: Int = 0)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val INDENT_SIZE: Int
-
def
add(s: String*): FunctionalPrinter
Adds strings at the current indent level.
- def addGroupsWithDelimiter(delimiter: String)(groups: Seq[Seq[String]]): FunctionalPrinter
-
def
addIndented(s: String*): FunctionalPrinter
add with indent
- def addStringMargin(s: String): FunctionalPrinter
- def addWithDelimiter(delimiter: String)(s: Seq[String]): FunctionalPrinter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def call(f: PrinterEndo*): FunctionalPrinter
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- val content: Vector[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def indent: FunctionalPrinter
- val indentLevel: Int
-
def
indented(f: PrinterEndo): FunctionalPrinter
apply the function with indent
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newline: FunctionalPrinter
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def outdent: FunctionalPrinter
- def print[M](objects: Iterable[M])(f: (FunctionalPrinter, M) ⇒ FunctionalPrinter): FunctionalPrinter
- def result(): String
- def seq(s: Seq[String]): FunctionalPrinter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- FunctionalPrinter → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def when(cond: ⇒ Boolean)(func: (FunctionalPrinter) ⇒ FunctionalPrinter): FunctionalPrinter