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:
  DocGroup, DocBreak, DocNest, DocCons, DocText, DocNil

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 -` ...