Packages

sealed abstract class Document extends AnyRef

A basic pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.

Source
TreeBrowsers.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Document
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def :/:(hd: String): Document
  2. def :/:(hd: Document): Document
  3. def ::(hd: String): Document
  4. def ::(hd: Document): Document
  5. def format(width: Int, writer: Writer): Unit

    Format this document on writer and try to set line breaks so that the result fits in width columns.