Attributes
Members list
Value members
Concrete methods
Concatenate two documents with a space between them.
Concatenate two documents with a line break between them.
Concatenate two documents.
Group a document such that it is displayed on one line if possible.
Nest a document to i spaces of indentation.
Nest a document to i spaces of indentation.
Value parameters
- i
-
Then number of spaces to indent by.
Attributes
- Source
- Doc.scala
Turn the document into a string.
Turn the document into a string.
Value parameters
- lineWidth
-
No line in the result string will exceed this length, unless it is unavoidable.
Attributes
- Source
- Doc.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Doc.scala
Writes the document to the specified file, replacing the current contents.
Writes the document to the specified file, replacing the current contents.
Attributes
- Source
- Doc.scala