|
Scala Library
|
|
scala/text/Document.scala]
object
Document
extends AnyRef| Method Summary | |
def
|
break
: DocBreak
A break, which will either be turned into a space or a line break
|
def
|
empty
: DocNil
The empty 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.
|
def
|
nest
(i : Int, d : Document) : Document
A nested document, which will be indented as specified.
|
def
|
text
(s : java.lang.String) : Document
A document consisting of some text literal
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
empty : DocNil
def
break : DocBreak
def
text(s : java.lang.String) : Document
|
Scala Library
|
|