def render(a: A, indent: Int)(using Layout): String
Method to render a.
Method to render a.
Value parameters
a
the value to be rendered
indent
the number of tabs (see Layout) by which any lines after the first are indented
Attributes
Returns
a String that, if it has embedded newlines, will follow each newline with (possibly empty) white space, which is then followed by some human-legible rendering of a.
Extension method to render a (starting with no indentation).
Extension method to render a (starting with no indentation).
NOTE: this cannot take an indent parameter, because it would then erase to the same signature as render(a, indent). For a starting indent, invoke render(a, indent) on the instance.