in scala.text
class Document

`abstract class` Document
  `extends` java.lang.Object
  `with` scala.ScalaObject

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

Version:
  1.0
Author:
  Michel Schinz

Direct Known Subclasses:
  DocBreak, DocCons, DocText, DocGroup, DocNil, DocNest

Constructor Summary
| `def` this

Def Summary
| `def` :/: (hd: java.lang.String) : scala.text.Document
| `def` :/: (hd: scala.text.Document) : scala.text.Document
| `def` :: (hd: java.lang.String) : scala.text.Document
| `def` :: (hd: scala.text.Document) : scala.text.Document
| `def` format (width: scala.Int, writer: java.io.Writer) : scala.Unit Format this document on WRITER and try to set line breaks so that the result fits in WIDTH columns.

Constructor Detail

`def` this

Def Detail

`def` :/: (hd: java.lang.String): scala.text.Document

`def` :/: (hd: scala.text.Document): scala.text.Document

`def` :: (hd: java.lang.String): scala.text.Document

`def` :: (hd: scala.text.Document): scala.text.Document

`def` format (width: scala.Int, writer: java.io.Writer): scala.Unit

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

Parameters:
  `width -` ...
Parameters:
  `writer -` ...