|
Scala 2
|
||
object
Document
extends
java.lang.Object with
ScalaObjectConstructor Summary | |
def
this
|
Def 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 : scala.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 |
Constructor Detail |
def
this
Def Detail |
def
break
: DocBreak
def
empty
: DocNil
def
group
( d : Document ) : Document
def
nest
( i : scala.Int , d : Document ) : Document
def
text
( s : java.lang.String ) : Document