Packages

abstract class Document extends AnyRef

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

Annotations
@deprecated
Deprecated

(Since version 2.11.0) this class will be removed

Source
Document.scala
Version

1.0

Linear Supertypes
Known Subclasses
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. All

Instance Constructors

  1. new Document()

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.