Block

doobie.util.pretty$.Block
See theBlock companion object
final case class Block(lines: List[String])

A block of text that can be aligned with other blocks.

Attributes

Companion:
object
Source:
pretty.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def above(other: Block): Block

Attributes

Source:
pretty.scala
def above1(other: Block): Block

Attributes

Source:
pretty.scala
def leftOf(other: Block): Block

Attributes

Source:
pretty.scala
def leftOf1(other: Block): Block

Attributes

Source:
pretty.scala
def leftOf2(other: Block): Block

Attributes

Source:
pretty.scala
def leftOfP(other: Block, padding: String): Block

Attributes

Source:
pretty.scala
def padLeft(padding: String): Block

Attributes

Source:
pretty.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
Source:
pretty.scala
def trimLeft(n: Int): Block

Attributes

Source:
pretty.scala
def wrap(cols: Int): Block

Attributes

Source:
pretty.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val height: Int

Attributes

Source:
pretty.scala
lazy val width: Int

Attributes

Source:
pretty.scala