scala.text.Document
- Annotations
- Deprecated
- (Since version 2.11.0) This object will be removed.
- Source
Value Members From scala.text.Document
def break: DocBreak.type
A break, which will either be turned into a space or a line break
(defined at scala.text.Document)
def empty: DocNil.type
The empty document
(defined at scala.text.Document)
def group(d: Document): Document
A group, whose components will either be printed with all breaks rendered as
spaces, or with all breaks rendered as line breaks.
(defined at scala.text.Document)
def nest(i: Int, d: Document): Document
A nested document, which will be indented as specified.
(defined at scala.text.Document)
def text(s: String): Document
A document consisting of some text literal
(defined at scala.text.Document)
Full Source: