scala.text.Document
A basic pretty-printing library, based on Lindig’s strict version of Wadler’s
adaptation of Hughes’ pretty-printer.
- Annotations
- Deprecated
- (Since version 2.11.0) This class will be removed.
- Source
- Version
Instance Constructors From scala.text.Document
new Document()
(defined at scala.text.Document)
Value Members From scala.text.Document
def :/:(hd: Document): Document
(defined at scala.text.Document)
def :/:(hd: String): Document
(defined at scala.text.Document)
def ::(hd: Document): Document
(defined at scala.text.Document)
def ::(hd: String): Document
(defined at scala.text.Document)
Format this document on writer
and try to set line breaks so that the result
fits in width
columns.
(defined at scala.text.Document)
Full Source: